Hi Hackers,
    Really basic question (because I'm relatively new to the Unix
scene -- only been using it for the last 10 years, so I don't know if
this was done for backwards compatibility with SysV) -- is mktemp(1)
without -t supposed to default to $PWD instead of /tmp if a template
is specified, e.g.

[r...@left4dead /usr/home/garrcoop]# mktemp fooXXXXXX
foovE3FLt
[r...@left4dead /usr/home/garrcoop]# ls foovE3FLt
foovE3FLt

    I ask because GNU coreutils' copy of mktemp (I know... I know...)
defaults to /tmp if $TMPDIR isn't specified.
Thanks!
-Garrett
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to