Would you be so kind as to share your favourite one-liners?
Update:
I always use:
perl -e 'print <>' filename
Once we have plenty to chose from, I'll make up a one-liner cheat sheet.
Update2:
I've had a request to ask if you could all explain what the one-liners do as well.
Thanks.
In reply to Favourite One-liners? by ghenry
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |