Mail Archives: cygwin/1997/04/22/00:53:02
This is a multi-part message in MIME format.
--------------2541782F43C6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hai,
When using the bash under NT 4.0 I encouter the following problem in a
script that i use under Linux and a DOS shell.
I use a inline cat script as follows
cat <<EOT > temp.file
script line 1
script line
etc
EOT
gawk -f temp.file
The problem is that bash does not recognize <<EOT to be a inline script.
the script runs well under a linux shell and a DOS shell.
Please help me with a solution or a workaround, so I do not have to
rewrite the script(s) for Linux and DOS as well.
Thanks,
Marcel Bouwmeester
UserSoft AT pi DOT net
the Netherlands
--------------2541782F43C6
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Received: from cygnus.com (cygnus.com [205.180.230.20]) by mailhost.pi.net (8.8.3/8.7.1) with ESMTP id XAA22840 for <UserSoft AT pi DOT net>; Fri, 18 Apr 1997 23:36:20 +0200 (MET DST)
Posted-Date: Fri, 18 Apr 1997 23:36:20 +0200 (MET DST)
Received-Date: Fri, 18 Apr 1997 23:36:20 +0200 (MET DST)
Received: from crackle (dialin-mv-06.cygnus.com [205.180.231.56])
by cygnus.com (8.8.5/8.8.5) with SMTP id OAA12456
for <UserSoft AT pi DOT net>; Fri, 18 Apr 1997 14:36:15 -0700 (PDT)
Message-Id: <199704182136 DOT OAA12456 AT cygnus DOT com>
X-Sender: kpowers AT cygnus DOT com
X-Mailer: Windows Eudora Version 1.4.4
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Fri, 18 Apr 1997 13:31:33 -0700
To: usersoft <UserSoft AT pi DOT net>
From: kpowers AT cygnus DOT com (Kathy Powers)
Subject: Re: [Fwd: Re: problem with cat.exe using beta 17.1 under win.nt 4]
X-UIDL: 10b76552e55982489dcd510fa67d136d
Status: RO
X-Mozilla-Status: 0011
Hello,
As Geoffrey Noer suggests, please forward this to our gnu-win32 AT cygnus DOT com
mail distribution.
Thanks,
Kathy
>I don't know if this is forwarded to the right group/mailing list, but i
>hope you can help??
>
>Marcel
>
>
>Geoffrey Noer wrote:
>>
>> Sorry, but I don't have time to help. Please either ask the gnu-win32
>> mailing list for help or wait until beta 18 comes out and see if the
>> issue is resolved in that release.
>>
>> -gjn
>>
>> usersoft wrote:
>> >
>> > Hai,
>> >
>> > When using the bash under NT 4.0 I encouter the following problem in a
>> > script that i use under Linux and a DOS shell.
>> >
>> > I use a inline cat script as follows
>> >
>> > cat <<EOT > temp.file
>> > script line 1
>> > script line
>> > etc
>> > EOT
>> > gawk -f temp.file
>> >
>> > The problem is that bash does not recognize <<EOT to be a inline script.
>> > the script runs well under a linux shell and a DOS shell.
>> >
>> > Please help me with a solution or a workaround, so I do not have to
>> > rewrite the script(s) for Linux and DOS as well.
>> >
>> > Thanks,
>> >
>> > Marcel Bouwmeester
>> > UserSoft AT pi DOT net
>> > the Netherlands
>> >
>>
>> --
>> Geoffrey Noer
>> noer AT cygnus DOT com
>
>
=========================================================
Kathy Powers Phone: +1-206-888-6002
Cygnus Solutions Fax: +1-206-888-6145
Western Region Sales Email: kpowers AT cygnus DOT com
Web site: http://www.cygnus.com
=========================================================
--------------2541782F43C6--
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -