From: dgursky@qsihome0.qsi.com ("David M. Gursky")
Subject: Bash redirection woes...
3 Mar 1997 20:49:50 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <Pine.GSO.3.93.970303225113.26815A-100000.cygnus.gnu-win32@qsihome0.qsi.com>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-To: gnu-win32@cygnus.com
Original-cc: dg@atl_dv1.qsi.com
Original-Sender: owner-gnu-win32@cygnus.com

I'm having a problem with redirection under bash that I hope the readers
of this list can shed some light on.

I am trying to build Harvest under NT 4.0.  The configuration script has a
number of commands to the effect of:

  cat > conftest.h <<EOF
  .
  .
  .
  EOF

What this is suppose to do is put the contents of the intermediate lines
into the file conftest.h.  Unfortunately, it doesn't seem to work.  Bash
consistently gives me a file not found error.  If I manually enter the
command "cat <<EOF" and then type several lines of text followed by
"EOF", that works find.  If I try cat filename > conftest.h, that works
too, but putting the two redirection constructs toget on the same line
seems to consistently fail.

Since I do noit regularly read this list, I would be grateful for
responses via email to dg@qsi.com.  Thank you.

                                David M. Gursky
                             Quality Systems, Inc.
                         4000 Legato Road, Suite 1100
                              Fairfax, VA  22033

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
