Awk Perl
ARGC $#ARGV
ARGV[0] $0
FILENAME $ARGV
FNR $. - something
FS (whatever you like)
NF $#Fld, or some such
NR $.
OFMT $#
OFS $,
ORS $\
RLENGTH length($&)
RS $/
RSTART length($\`)
SUBSEP $;
Cerebral C programmers should take note of the following:
Seasoned sed programmers should take note of the following:
Sharp shell programmers should take note of the following: