Comment on Awk: The Power and Promise of a 40-Year-Old LanguageparentComments−u801e5yperl actually has a one-liner way of invocation that's modeled after awk.For example, to print the first field of a line work the default delimiter could be accomplished in perl by running: perl -ane 'print $F[0], "\n"' Where $F[0] is the equivalent of $1 in awk.
Comments
perl actually has a one-liner way of invocation that's modeled after awk.
For example, to print the first field of a line work the default delimiter could be accomplished in perl by running:
Where $F[0] is the equivalent of $1 in awk.