Mail Archives: djgpp/2000/01/13/08:57:23
On Wed, 12 Jan 2000, Gisle Vanem wrote:
> 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)
I'm guessing that your TMPDIR either is not set or points to an
invalid directory. See section 6.11 of the FAQ.
FWIW, I don't have a /tmp directory (deliberately, so scripts which
depend on it don't get away uncaught), and I have yet to see a single
problem like that.
> With a /tmp directory everything is okay.
/tmp is probably the last resort, when TMPDIR and some other
variables aren't set. You should never get to that point in a
well-set DJGPP installation (because djgpp.env sets TMPDIR).
- Raw text -