This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

here-files give "bash: 49053860: No such file or directory"


I installed cygwin32 B17.1 and I can't get here-files, "<<", to
work in bash:

    C:\> bash
    bash$ cat >conftest.c
    This works.
    ^Z[CR]
    bash$ cat conftest.c
    This works.
    bash$ cat >conftest.c <<EOF
    > This doesn't.
    > [CTRL-D]bash: 49054596: No such file or directory.
    bash$ cat conftest.c
    bash$

The error message always starts with `basename $0`.  I have
/bin/sh.exe and bash can find itself in the PATH since the
commands "/bin/sh", "/bin/sh.exe", "bash", "bash.exe" all run
another copy of bash [adding "/bin" to PATH doesn't help].

Even running bash so $0 ends up as
"//c/etm/cygnus/h-i386-cygwin32/bin/bash.exe" doesn't help it
find itself.

Any clues appreciated.
--
Tye McQueen                 tye@metronet.com  ||  tye@thingy.usu.edu
             Nothing is obvious unless you are overlooking something
       http://www.metronet.com/~tye/ (scripts, links, nothing fancy)
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]