On Mon, 2 Jul 2001 at 15:44, Orlando Andico wrote:
> GECOS=`cat /etc/passwd | grep $USERNAME | cut -f5 -d:`

Hey, cool! This is really great (and now I should start reading 'man cut',
I love this learning gig) but it includes the "other" information (ie:
office, telephone numbers) which come after the comma. Argh. Hmm...? :)

Thanks everyone (especially Orly who was the first, and so far the only
one, to reply)! :)

 --> Jijo

--
Federico Sevilla III  :: [EMAIL PROTECTED]
Network Administrator :: The Leather Collection, Inc.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to