Moin,
Gösta Steen schrieb:
> ich würde gerne was aus dieser Zeile rausfiltern
>
> wort1;wort2;wort3;wort4;wort5
>
> und zwar soll es z.B. wort3 als antwort geben.
'cut' ist dein Freund.
In deinem Fall würde ein
echo "wort1;wort2;wort3;wort4;wort5" | cut -d\; -f3
zum gewünschten Ergebnis führen.
Weitere Details wie immer in der Manpage.
Gruß,
Patrick
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 19 Mar 2003 - 20:59:51 CET