Mail Archives: djgpp/1999/04/18/17:35:29
On Sun, 18 Apr 1999 14:16:39 +0300 (IDT), Eli Zaretskii
<eliz AT is DOT elta DOT co DOT il> 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.
It was plain DOS7 command.com, but I just tried bash and it's the same
error. I think the backtick expansion is done by perl..what exactly
does the message mean, anyway?!
>This is explained in the DJGPP FAQ list, section 6.11, btw.
Well, I read the FAQ, but not that section 'cause I didn't use bash..
btw everything works when I replace `cat $fn` with `type $fn` from old
command.com (but type is sth completely different on linux, where I
want to run the script, too) ..so it may have to do with the way cat
reads/writes data...
regards,
Tobias Weber
- Raw text -