Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by thargas (Deacon)
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.

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 meditating upon the Monastery: (12)
As of 2016-09-27 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (503 votes). Check out past polls.