Why does the script get the current directory? It never does anything with it.
The best I can tell from looking at the perlish version, it boils down to:
perl -E" say for glob qq[$ARGV[0]/*] "
In reply to Re: Most effective bash to perl for directory listing
by BrowserUk
in thread Most effective bash to perl for directory listing
by ZWcarp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |