www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/18/07:41:53

Date: Sun, 18 Apr 1999 14:16:39 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tobias Weber <towb AT gmx DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: cat.exe: standard output: Invalid argument (EINVAL) ??
In-Reply-To: <3718be27.18297722@personalnews.de.uu.net>
Message-ID: <Pine.SUN.3.91.990418141621.22615g-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 17 Apr 1999, Tobias Weber wrote:

> I've got a perl wich does `cat $fn` (backticks!) and works perfectly
> well on linux.
> On w95 all I get is
>  cat.exe: standard output: Invalid argument (EINVAL)

If you invoked the above command from the ported Bash, then the most
probable reason is that your TMPDIR variable in the environment is not
defined or points to an invalid directory.  Bash needs that because
`command` expansion goes through a temporary file.

This is explained in the DJGPP FAQ list, section 6.11, btw.

- Raw text -


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