bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Gawk for Windows 3.1.3


From: Aharon Robbins
Subject: Re: Help with Gawk for Windows 3.1.3
Date: Wed, 08 Jun 2005 21:49:23 +0300

> Date: Wed, 08 Jun 2005 13:14:00 -0500
> From: address@hidden
> Subject: Help with Gawk for Windows 3.1.3
> To: address@hidden
>
> [....]
>
> Any idea why the gawk command complaining about the single quote.  Thank
> you for any help.

Because the command interpreter you're usring under Windows is not a
Unix shell. It's the shell that handles quote interpretation.

The quick answer is that you will be in a world of pain if you try to
use command line programs. The easiest thing to do is to put the awk
script into a file and invoke gawk that way:

        C:> gawk -f myscript.awk file1 file2 > output.txt

Or get a Unix emulation environment such as Cygwin, see http://www.cygwin.com.

Good luck,

Arnold




reply via email to

[Prev in Thread] Current Thread [Next in Thread]