bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lack of documentation on use of $TMPDIR


From: Eric Blake
Subject: lack of documentation on use of $TMPDIR
Date: Fri, 15 Jul 2005 16:34:18 -0600
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It would be nice if the Shell Variables section of documentation mentions
that $TMPDIR can affect where temporary files are created, and situations
where that happens (such as when processing here-docs).  Furthermore, the
FILES section should mention that when TMPDIR is not defined, the tmpdir
search proceeds through '/tmp', '/var/tmp', '/usr/tmp', and '.', for the
first directory writable by the current user.  Bash 3.0 does not document
this anywhere, so I had to go digging through the source code to find it
(see lib/sh/tmpfile.c).

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC2Dnq84KuGfSFAYARAokyAJwLD/YAnIISEs0668FDwMYMIdfhfgCggD9h
Uo9H6dCdhOtpUlJtAysWB70=
=J6G9
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]