Reproduce the output from wc using as few chars as possible. (634)
Update: Put the space back.
wc readme.txt 644 5611 36120 readme.txt perl -anlwe"$w+=@F;$c+=length}{print qq[\t$. $w ${\($c+$.*2)} $ARGV]" +readme.txt 644 5611 36120 readme.txt
In reply to Re: How do I gather and output info about a file's contents? (Golf)
by BrowserUk
in thread How do I gather and output info about a file's contents?
by aureum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |