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
thanks ,bob
On Wednesday, March 17, 2004 4:02 PM, Bill Landry <[EMAIL PROTECTED]> =
wrote:
>----- Original Message -----=20
>From: "Bob McGregor" <[EMAIL PROTECTED]>
>
>> does anyone have an example of using gawk for Windows from the =
unixutils.=3D
>> sourceforge.net?
>>
>> I just cannot figure out how to structure the command to work and any =
=3D
>> assistance would be much appreciated.
>
>Sure, but it can be used in many different ways - what is it you are =
trying
>to accomplish. One thing to know is that the Win32 version of the tools
>require you to use double quite marks " instead of single '
>like is used
>with UNIX.
>
>Bill
>
>
>