delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/30/08:02:24

Date: Wed, 30 Dec 1998 13:29:44 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Sergei Listvin <serg AT tanigawa DOT spb DOT ru>
cc: djgpp AT delorie DOT com
Subject: Re: bash pipe problem
In-Reply-To: <19981230131508.A614@tanigawa.spb.ru>
Message-ID: <Pine.SUN.3.91.981230132349.1157F-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On 30 Dec 1998, Sergei Listvin wrote:

> I am having some problems with bash 1.14.7 (196) for Win.(Win95 4.00.950 B)
> when I try to use pipes, I get error message:
> 
> bash$ ls|less #or anything to the right of the bar
> bash$ pipe error: No such file or directory (ENOENT)

This is in the FAQ (section 6.11): most probably, your TMPDIR environment 
variable points to an invalid directory.

> Sorry, if it's a FAQ.

Don't be sorry, read it.

> TMPDIR=c:/>tmp
         ^^^^^^^
See the problem now?

Did you by any chance edit DJGPP.ENV?  If so, don't: it has a cryptic 
syntax and it is very easy to get yourself in trouble, such as this one, 
if you edit it without a very good knowledge of how it works.

Instead of editing DJGPP.ENV, set TMPDIR in the environment.

- Raw text -


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