When I run the ls -a command from my Perl script, I get it all in one column automatically. Assuming your list is in the column format somehow, however:
@files = sort split / +|\n/, $lsdata;
In reply to Re: How to efficiently parse "ls -a"?
by TJPride
in thread How to efficiently parse "ls -a"?
by isync
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |