www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/10/28/10:05:53

From: dumser AT lesol1 DOT dseg DOT ti DOT com (James Dumser)
Subject: Re: awk acting funny
28 Oct 1996 10:05:53 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199610281436.IAA16929.cygnus.gnu-win32@lesol1.dseg.ti.com>
Mime-Version: 1.0
Original-To: dj AT delorie DOT com (DJ Delorie)
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <199610261416.KAA27517@delorie.com> from "DJ Delorie" at Oct 26, 96 10:16:35 am
X-Mailer: ELM [version 2.4 PL23]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

On Sat, 26 Oct 1996 10:16:35 -0400, DJ Delorie <dj AT delorie DOT com> wrote:
>> D:\bin> dir | gawk '{print "Hello " $1 }'
>> GAWK.EXE: cmd. line:1: '{print
>> GAWK.EXE: cmd. line:1: ^ Invalid char ''' in expression
>> 
>> The same command produces normal output on a unix machine, no errors.
>
>Also works OK with djgpp's gawk.

But this is because djgpp takes over command line parsing from the DOS
shell, correct? In other words, djgpp is doing the job of bash in the
cygwin-32 (& Unix) environment; and running the above from bash works
correctly.

-- 
James Dumser    972-462-5335 dumser AT ti DOT com
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019