Mail Archives: djgpp/1996/12/22/02:24:16
On 18 Dec 1996, Weiqi Gao wrote:
> However, I had the following peculiar experience with bash and cat in a DOS
> box under Windows 3.1:
> ===========================================================
> weiqi: ~$ cat << EOF
> >EOF
> d:/USR/BIN/cat.exe: -: Bad file descriptor (EBADF)
> ===========================================================
Is that cat.exe from the DJGPP port of Fileutils 3.13? If so, the above
works for me on MSDOS. Can you try it on DOS and see if it works? If
not, maybe you have an old cat.exe? If it does work on MSDOS, but not on
Windows 95, it probably is Windows-specific.
Also, be sure to upgrade to the latest bash.exe.
- Raw text -