* Jochen Hein wrote/schrieb:
> #!/bin/sh
>
> IFS=""
> while read zeile; do
> IFS=":"
> set -- $zeile
> IFS=""
> echo "User: $1"
> echo "UID: $2"
> echo "GID: $3"
> echo "Gecos: $4"
> echo "Home: $5"
> echo "Shell: $5"
> echo "Length: ${#zeile}"
> done < /etc/passwd
Unfa�bar! :-o
Tim schuldet Dir 'nen Lolli. Ich pack ein Hanuta dazu, wenn Du sagst, da�
Du das ohne sportlichen Ehrgeiz einfach so runtergeschrieben hast.
-martin
--
If you push the "extra ice" button on the soft drink vending machine,
you won't get any ice. If you push the "no ice" button, you'll get
ice, but no cup.
---------------------------------------------------------------------------
PUG - Penguin User Group Wiesbaden - http://www.pug.org