delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/12/10:56:53

Message-ID: <01ad01bf5d14$6bb004d0$293f8589@gv015029.bgo.nera.no>
From: "Gisle Vanem" <gvanem AT eunet DOT no>
To: <djgpp AT delorie DOT com>
Subject: Re: bash and /tmp
Date: Wed, 12 Jan 2000 16:48:04 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> said:
>
>On Wed, 12 Jan 2000, Gisle Vanem wrote:
>
>> I'm using bash and notices it requires a /tmp directory on current
>> disk.
>
>How do you see this?  I don't think there's any /tmp built into Bash.

Any script that takes a file from stdin. Without a /tmp directory, 
bash complains:

    bash  ./cmplhelp.sh < pine.hlp > helptext.c
    ./cmplhelp.sh: pipe error: No such file or directory (ENOENT)
                          ^^^
'cmplhelp.sh' contains some pretty large sed and awk scripts piped
into each other, but no references to env-vars. In principle it contains:
  sed 'args' | awk 'more-args'

With a /tmp directory everything is okay.

BTW. this is from building Pine 4.21. The DOS-port is
way behind the Unix-port and is a h*ll to update.

Gisle V.


- Raw text -


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