delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/26/09:11:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: Re: error 22 when I use gawk on cygwin Xfree 4.2
Date: Wed, 26 Feb 2003 15:10:29 +0100
Message-ID: <EE012FBB4150A841BBE9352A3EA64CAE08126F@parmhs2.rd.francetelecom.fr>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "DEMOTTIE Christophe DvSI/SIReS/GRE" <christophe DOT demottie AT rd DOT francetelecom DOT com>
To: <cygwin AT cygwin DOT com>
X-OriginalArrivalTime: 26 Feb 2003 14:10:29.0992 (UTC) FILETIME=[D18C1680:01C2DDA0]
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1QEBHY27456

> Details?  Is the awk script inside of a shell script?  Which shell? 
> sh or bash?

The awk script is inside a shell script. And it's bash.

So I rip it out into a specific file and change my shell script
accordingly. And now, it's OK.

Thanks very much, Corinna.

have a good day.

Christophe.

> On Wed, Feb 26, 2003 at 10:49:03AM +0100, DEMOTTIE Christophe DvSI/SIReS/GRE wrote:
> > 
> > Hello,
> > 
> > I'm written a program with gawk on Cygwin on Windows 2000 computer.
> > And I recently have an error :
> > 	./myProgram.sh: gawk: error 22
> > 
> > After a long search, I found why gawk doesn't work. I have too many
> > characters or line in my gawk program.
> > 
> > my gawk program has 702 lines. With 30511 characters, it works. With
> > 30512 characters, it produces this error 22.
> 
> Details?  Is the awk script inside of a shell script?  Which shell? 
> sh or bash?
> 
> If the awk script is inside the shell script, please rip it out
> into it's own file and change the shell script accordingly.  Note
> that different systems and different shells have different maximum
> line lengthes.  Writing too long input lines is non-portable.
> 
> > I'm trying my program on HP computer with HPUX, and there isn't any problem.
> 
> That's fine for HPUX.
> 
> > I work with Cygwin 4.2. The gawk programm have this characteristic :
>                      ^^^
> 		     This is the XFree version, not the Cygwin version.
> 
> > 	$ uname -a
> > 	CYGWIN_NT-5.0 myComputer 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown
>                                  ^^^^^^
> 				 That's the Cygwin version.
> 
> You considered updating to the current version?
> 
> Corinna
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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