4 ms·
What about perl -ne 'print;' -- * > ../collection
by mrud 14y ago
What about
perl -ne 'print;' -- * > ../collection
- kahirsch 14y agoThat's actually vulnerable to certain problems. Using "-n" or "-p" or "while (<>)", the files get opened using the 2-argument version of open, so a file names, e.g. "|rm *" can cause problems!