From: John Hagelgans Newsgroups: comp.os.msdos.djgpp Subject: bash under djgpp Date: 20 Feb 1997 16:14:06 -0500 Organization: Deutsche Bank North America Lines: 19 Message-ID: NNTP-Posting-Host: btsdev28.develop.nyc.dbna.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Does anyone know how to make here documents work with bash compiled with djgpp? Or is this a problem with cat ? I have this .... cat > test.c < main() { printf("Hello World\n"); } EOF which results in. d:/usr/bin/cat.exe: -: Bad file descriptor (EBADF) d:/usr/bin/cat.exe: -: Bad file descriptor (EBADF) -- -John