
December 5th, 2011, 10:45 AM
|
|
|
Might also, using similar method, wish to 'parse out' the comment text from the comma onwards.
Code:
grep 'l828117' /etc/passwd|cut -d ':' -f5 | cut -d ',' -f1
__________________
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc
|