| delorie.com/archives/browse.cgi | search |
| From: | John Hagelgans <jhagelga AT btsdev28 DOT develop DOT nyc DOT dbna DOT com> |
| 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: | <tkik9o389k1.fsf@btsdev28.develop.nyc.dbna.com> |
| 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 <<EOF
#include <stdio.h>
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |