Displaying 1 result from an estimated 1 matches for "kimaura".
Did you mean:
kilauea
2008 Nov 27
2
OT: bash script for passwd and shadow manipulation
Hi,
i need to extract some information from the /etc/passwd file to be
used as a command input in a mail software. My /etc/passwd looks like:
k.thomas:x:1918:100:Kimaura Thomas:/home/users/k.thomas:/bin/usersh
My main issue here is that the fifth field contains spaces and spanish
chars with accent. I currently do not posess the skill to understand
how to use cut to extract all the field.
So far, cut returns the name up to the space, so in this case it will
return K...