delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/30/05:40:40

From: Sergei Listvin <serg AT tanigawa DOT spb DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: bash pipe problem
Date: 30 Dec 1998 13:27:05 +0300
Organization: unknown
Lines: 62
Distribution: world
Message-ID: <19981230131508.A614@tanigawa.spb.ru>
NNTP-Posting-Host: localhost
Mime-Version: 1.0
X-Return-Path: serg AT tanigawa DOT spb DOT ru
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello All!
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)

less is in my $PATH.
when I boot up in the dos mode with shell=c:\bin\bash.exe
in the config.sys, all works fine. Output of 'set' is below.
Have any idea why?
Please answer by mail, if you can, I get news through
mail gateway, and it's a bit complicated to trace messages.
Sorry, if it's a FAQ.

bash$ set
BASH=c:/bin/bash.exe
BASH_VERSION=1.14.7(196)
BLASTER=A220 I5 D1 H5 P330 T6
CMDLINE=WIN
COMSPEC=C:\WINDOWS\COMMAND.COM
DJDIR=d:/djgpp
DJGPP=d:\DJGPP\djgpp.env
EMU387=d:/djgpp/bin/emu387.dxe
EUID=42
HISTFILE=//.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOSTTYPE=PCAT
IFS= 	

LFN=y
MAILCHECK=60
OPTERR=1
OPTIND=1
OSTYPE=MSDOS
PATH=C:/BIN;C:/WINDOWS;C:/WINDOWS/COMMAND
PATH_EXPAND=Y
PATH_SEPARATOR=;
PPID=1
PROMPT=$p$g
PS1=bash\$ 
PS2=> 
PS4=+ 
PWD=c:/bin
SHELL=c:/bin/sh.exe
SHLVL=1
TEMP=C:\WINDOWS\TEMP
TERM=dumb
TMP=C:\WINDOWS\TEMP
TMPDIR=c:/>tmp
UID=42
USER=dosuser
_=set
winbootdir=C:\WINDOWS
windir=C:\WINDOWS

-- 
Sergei Listvin			== Powered by Vim ==
Perl is the portable distillation of UNIX culture.
		-- "The Camel Book"

- Raw text -


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