Awk oddity

Tad K. Mannes tad at prism.gatech.EDU
Thu Oct 5 20:05:28 AEST 1989


In article <708 at lakart.UUCP> dg at lakart.UUCP (David Goodenough) writes:
> A three-part exercise:
> 
> 1.	Write and test an awk script to print all input lines that contain
> 	the character 'x'.
> 2.	Write and test an awk script to print all input lines that contain
> 	the character '='.
> 3.	Comment on the results.
>

	Whats wrong with the following scripts?

	awk '/\x/'

	awk '/\=/'

	That was'nt too difficult...
-- 
Tad K. Mannes
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp: ...!{allegra,amd,hplabs,seismo,ut-ngp}!gatech!prism!tad
ARPA: tad at prism.gatech.edu



More information about the Comp.unix.wizards mailing list