delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/01/07:02:01

From: d DOT vrabel AT n-shropshire DOT ac DOT uk (David Vrabel)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: bash and pipes
Date: Mon, 01 Jun 1998 09:00:24 GMT
Organization: Staffordshire University
Message-ID: <35726cdb.4503850@192.168.1.250>
References: <6ksbqo$plr$1 AT nnrp1 DOT dejanews DOT com>
NNTP-Posting-Host: www.n-shropshire.ac.uk
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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

- Raw text -


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