home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!usc!hacgate!tony
- From: tony@hacgate.SCG.HAC.COM (Tony Reeves)
- Newsgroups: comp.lang.perl
- Subject: how to get passwd
- Message-ID: <23093@hacgate.SCG.HAC.COM>
- Date: 31 Aug 92 23:39:53 GMT
- Reply-To: tony@hacgate.UUCP (Tony Reeves)
- Distribution: usa
- Organization: Hughes Aircraft Co., El Segundo, CA
- Lines: 11
-
- I'm new to perl, so I'm sorry if this is a dumb question...
-
- I want to read the last line of /etc/passwd and grep out the uid number.
- I can't seem to do this. How can I do this easy? I tryed open, seek and split.
- But it does not seem to work the way I read it in the man page. Can a perl
- expert help me?
-
- --
- Why did the Roman Empire Collapse? What is latin for Office Automation?
- ---- The opitions expressed here are mine and have nothing to do with Hughes
- Aircraft Co. -- So there! tony@hacgate.hac.com
-