[98560] in RedHat Linux List
Re: A script problem
daemon@ATHENA.MIT.EDU (Anthony E. Greene)
Mon Nov 9 18:04:57 1998
Date: Mon, 09 Nov 1998 23:19:45 +0100
To: redhat-list@redhat.com
From: "Anthony E. Greene" <agreene@pobox.com>
In-Reply-To: <Pine.LNX.4.05.9811091701400.8047-100000@winbuster.magic.fr
>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
At 17:05 1998-11-09 +0100, Zoki wrote:
>*** I couldn't sit still so I went on messing around with the script. At
>this point it works, but I still would like to get feedback if it's done
>according to the rules. This is the solution I found:
>
>********* The script *********************
>
>#!/bin/sh
>
>'/usr/bin/id -un'=USER
Shoudn't this line read:
USER='/usr/bin/id -un'
Tony
--
Anthony E. Greene <agreene@pobox.com>
Homepage & PGPKey: <http://www.pobox.com/~agreene/>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.