>From: [EMAIL PROTECTED] (Bill Davidsen)


>Filenames:

>  bash, ksh, and recent SysV[34] shells all include $RANDOM, so a name
>like /tmp/$$_$RANDOM gives unique filenames. For the deeply paranoid who
>might have old files around, you can:
>  MyFile=/tmp/$$_$RANDOM.myapp

This is not correct:

> sh
$ echo $RANDOM

$ 

uname -a
SunOS burner 5.8 Generic sun4u sparc SUNW,Ultra-5_10

... the latest version of the bourne shell.

J�rg

 EMail:[EMAIL PROTECTED] (home) J�rg Schilling D-13353 Berlin
       [EMAIL PROTECTED]               (uni)  If you don't have iso-8859-1
       [EMAIL PROTECTED]           (work) chars I am J"org Schilling
 URL:  http://www.fokus.gmd.de/usr/schilling   ftp://ftp.fokus.gmd.de/pub/unix


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to