Perl one-liner for beginners !
I often use the following arguments to perl: -e Makes the line of code be executed instead of a script -n Forces your line to be called in a loop. Allows you to take lines from the diamond operator (or stdin) -p Forces your line to be called in a loop. Prints $_ at the end This ...Tags: perl, oneliner, linux, handy, script, codes
1399 days ago