Thanks. That indeed does it. Did not know how to use tail here.
Now, how do I use it in a script, such as
$LASTFILE =  ?????
do something using $LASTFILE




LASTFILE=`ls -ltr | tail -1`

where ` is the backward quote (on the ~ (tilde) key on my north american keyboard).

/icebiker


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



Reply via email to