Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: How to efficiently parse "ls -a"?

by thargas (Chaplain)
on Dec 16, 2011 at 14:19 UTC ( #943949=note: print w/ replies, xml ) Need Help??


in reply to How to efficiently parse "ls -a"?

How about ls -a1 That's the lowercase of the letter A followed by the digit one. It'll get you the list of file-names one per line. Unless you're concerned about silly file-names including newlines.


Comment on Re: How to efficiently parse "ls -a"?
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://943949]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2014-07-22 08:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (108 votes), past polls