🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #40364

Re: GNUawk help wanted

#40364
From: Tapani Tarvainen
Date: Wed, 27 Dec 1989 11:18
15 lines
1213 bytes
>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)
Technical Details
Message-ID: <2549@tukki.jyu.fi>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!zaphod.mps.ohio-state.edu!usc!snorkelwacker!bloom-beacon!eru!luth!sunic!tut!tukki!tarvaine
References: <20012@acf4.NYU.EDU> <4239@convex.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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