Cover | Table of Contents
Constant Width
$
[ ]
Constant Width
$
[ ]
$ grep [A-Z]* chap[12]
$ grep Array.c Bug.c Comp.c chap1 chap2
$ grep "[A-Z]*" chap[12]
? matches zero
or one instance of a regular expression; in filename expansion,
? matches a single character.
sed [-n] [-e] 'command' file(s) sed [-n] -f scriptfile file(s)
$ awk 1 /dev/null
awk: syntax error near line 1
awk: bailing out near line 1
ftp://ftp.gnu.org/gnu/sed/sed-3.02.tar.gz
http://cm.bell-labs.com/~bwk
ftp://ftp.freefriends.org/arnold/Awkstuff/mawk1.3.3.tar.gz
ftp://ftp.gnu.org/gnu/gawk/gawk-3.1.1.tar.gz
http://awka.sourceforge.net
ftp://ftp.gnu.org/gnu/gettext/gettext-0.11.2.tar.gz
Return to sed and awk Pocket Reference