Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'better script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
better script
Authored by: SOX on Aug 29, '07 06:32:24PM

Symlinks are not a great idea in this case because you can't move or delete the originals. And in this case you boofed the symlinks :-)

No piping? Only perl? Surely you jest. Your program pipes too, it just fires up a bash shell from within perl and pipes the output back. plus it opens a buffer file to collect the output in one slug before parsing it. The piping I use is multi-threaded and does not block the perl while the ls runs. Besides you can add a filter or another source of the file name list with the explictly piped arch.





[ Reply to This | # ]