On 4/17/06, Erik Norgaard <[EMAIL PROTECTED]> wrote:
> I have found "pw usershow user1" will return a line from the passwd
> file, but that needs to be split chewed, and spit out. Seems awk can do
> it but I have no clue.

cut is probably about the cheapest way to split a line:

pw usershow user1 | cut -d: -f9


Svein Halvor
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to