[PLUG] Bourne Scripting Question
gyan doshi
gyan@purdue.edu
Sat, 24 Feb 2001 13:24:59 -0500
Hi Aaron
AFAIK, The user variable holds the string of the current user logged in
i.e YOU.
So if the user in user.tar is your login, then you could expect it to
work, I guess.
Gyan
Aaron Lehmann wrote:
>
> I have a tarball that is named after the USER of the script (named for
> the $USER variable). I want to untar it. why doesn't tar -xf $USER
> work? I'm doing this on mentor, so I'm using their foul tar program...
> :-(
>
> Aaron Lehmann
> --
> I agree with Matt.