Lars Engels wrote:
> Ich habe eine Tab-Stop getrennte Textdatei mit 2 Spalten.
> Wie kann ich nur die Zeilen ausgeben, in denen in Spalte 2 nichts steht
olivleh1(at)kartoffel olivleh1> awk -F'	' '$2~/^$/ { print }' test.txt
Susi Musterfrau	
Linus Cox	
olivleh1(at)kartoffel olivleh1> cat test.txt
Karl Heinz Ludwig	Dr.
Klaus Otto Vogel	Dipl.-Kfm.
Susi Musterfrau	
Linus Cox	
Karl Dall	Prof. Dr.
olivleh1(at)kartoffel olivleh1> 
-- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/ To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Mon 05 Jul 2004 - 14:35:57 CEST