delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/01/21:15:28

From: lheller AT my-dejanews DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: bash and pipes
Date: Tue, 02 Jun 1998 01:09:06 GMT
Organization: Deja News - The Leader in Internet Discussion
Lines: 34
Message-ID: <6kvjbi$mik$1@nnrp1.dejanews.com>
References: <6ksbqo$plr$1 AT nnrp1 DOT dejanews DOT com> <35726cdb DOT 4503850 AT 192 DOT 168 DOT 1 DOT 250>
Reply-To: lheller AT my-dejanews DOT com
NNTP-Posting-Host: 207.205.151.110
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <35726cdb DOT 4503850 AT 192 DOT 168 DOT 1 DOT 250>,
  d DOT vrabel AT n-shropshire DOT ac DOT uk (David Vrabel) wrote:
>
> lheller AT my-dejanews DOT com wrote:
>
> >I've just started with djgpp and was surprised to find that apparently
bash,
> >bsh1147, does not support pipes; e.g. 'cat _bashrc | grep PS1' will fail
> >with a bash ENOENT pipe error.  If bash doesn't support pipes, is there a
> >work around, or have I missed something.
> Bash does support pipes and they do work.
>
> Do you have a TMPDIR variable set in your DJGPP.ENV file?  If so does
> it point to a directory that exists?  Bash under DOS uses temporary
> files to simulate pipes.
>
> David.
>
> David Vrabel  d DOT vrabel AT n-shropshire DOT ac DOT uk
> A poor student (aren't they all) at:
> North Shropshire College
> Oswestry, Shropshire, UK
>
Thanks for the response.  It turns out that when I copied my unix .bashrc
I mistakenly retained a TMPDIR environment variable that replaced the
one set by djgpp.env.  And of course 'that' directory didn't exist.

Thanks again and best regards.

Lance


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading

- Raw text -


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