version 1.8, 1998/03/19 06:13:37 |
version 1.9, 1998/04/13 17:22:10 |
|
|
.Ql X Ns s |
.Ql X Ns s |
appended |
appended |
to it, for example |
to it, for example |
.Pa /tmp/temp.XXXX . |
.Pa /tmp/temp.XXXXXX . |
The trailing |
The trailing |
.Ql X Ns s |
.Ql X Ns s |
are replaced with the current process number and/or a |
are replaced with the current process number and/or a |
|
|
exit 1 |
exit 1 |
fi |
fi |
.Ed |
.Ed |
.Pp |
|
Note that one can also check to see that $TMPFILE is |
|
zero length instead of checking $?. This would allow |
|
the check to be done later one in the script (since |
|
$? would get clobbered by the next shell command). |
|
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr mktemp 3 , |
.Xr mktemp 3 , |
.Xr mkdtemp 3 , |
.Xr mkdtemp 3 , |