www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/21/01:51:20

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019