X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <528A4CED.8030200@codespunk.com> Date: Mon, 18 Nov 2013 12:22:53 -0500 From: "Matt D." User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Working with bash and cat References: <528996CE DOT 9020803 AT codespunk DOT com> In-Reply-To: <528996CE.9020803@codespunk.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Bash pipe doesn't work at all with any of the 2.05 binaries. All of these fail: sh.exe sh-2.05$ echo 1 | cat sh-2.05$ echo 1 | while read a; do echo $a; done sh-2.05$ echo 1 | (read a && echo $a) I am using DJGPP with MSDOS 7.1. Is this operating system not supported? Please advise. Matt D. On 11/17/2013 11:25 PM, Matt D. wrote: > I just downloaded bsh204br3.zip from current but when executing the > following script I get an error "Bad file descriptor (EBADF)": > > echo 1 | cat > > I tried downloading the latest beta bsh205bbr3.zip but then whenever I > pipe something into cat, nothing gets output to the screen. > > Is there a more recent version of bash I can download which fixes these > problems? > > > Matt D. > > >