----- Original Message ----- 
From: "Bob McGregor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 17, 2004 3:16 PM
Subject: [IMGate] Re: OT: gawk from unixutils question


> thanks Bill,
> 
> here is what I have
> 
> gawk {FS =3D "!"} {print $1 $2 $3 $2 $5) c:\test\testing.txt
> 
> the delimiter is ! and there are 5 columns based on the delimiter.
> here is what I get:
> 
> gawk:cmd. line:2: (END OF FILE}
> gawk:cmd. line:2: parse error

I don't have a copy of your test file, but try:

gawk "{FS =3D "!"} {print $1 $2 $3 $2 $5}" c:\test\testing.txt

Bill

Reply via email to