Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!tut!tukki!tarvaine From: tarvaine@tukki.jyu.fi (Tapani Tarvainen) Newsgroups: comp.sys.ibm.pc Subject: Re: GNUawk help wanted Message-ID: <2549@tukki.jyu.fi> Date: 27 Dec 89 11:18:26 GMT References: <20012@acf4.NYU.EDU> <4239@convex.UUCP> Reply-To: tarvaine@tukki.jyu.fi (Tapani Tarvainen) Organization: University of Jyvaskyla, Finland Lines: 15 >In article <20012@acf4.NYU.EDU> lixj@acf4.NYU.EDU (Xiaojian Li) writes: >I've downloaded GNUAWK210 for MSDOS from simtel, but have being unable >to run it on my AT compatible, the error message looks like this: >\C> gawk 'BEGIN {print "OK"}' filename > ...can not open '(null)' to read, no such file or directory... DOS doesn't understand single quotes ('). If you want to give the script to gawk in the command line, you must enclose it in double quotes ("). If the script itself contains double quotes like in your example, you have to put it in a file and use the -f option. (Or junk command.com and get something like 4DOS.) -- Tapani Tarvainen (tarvaine@tukki.jyu.fi, tarvainen@finjyu.bitnet)