Quoting quotes in awk

chris at umcp-cs.UUCP chris at umcp-cs.UUCP
Fri Mar 7 22:36:18 AEST 1986


I just tried the following on a 4.3BSD beta system and it worked fine:

	% awk -f /dev/stdin
	{ printf("%d: \"%s\"\n", NR, $0); }
	control-D hi
	1: "hi"
	there
	2: "there"
	control-D %

So what is the problem with quotes?
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 1415)
UUCP:	seismo!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at mimsy.umd.edu



More information about the Comp.unix mailing list