$temp-name - Temporary file name
$temp-name FileName
$temp-names is automatically set to a nonexistent file name in the systems temporary file directory. On UNIX systems the temporary directory is fixed to "/tmp/", on other systems the temporary directory is set by the $TEMP environment variable.
The following example uuencodes a given file into a temporary file and then inserts this file into the current buffer.
set-variable #l0 @ml04 "Uuencode and insert file" set-variable #l1 $temp-name !force shell-command &spr "uuencode %s < %s > %s" #l0 #l0 #l1 insert-file #l1 !force shell-command &cat "rm " #l1
This variable can not be set, any attempt to set it will result in an error.
The returned file name is not guaranteed to be unique between calls, only that the file does not currently exist.
(c) Copyright JASSPA 1999
Last Modified: 1998/09/03
Generated On: 1999/12/01