
Am Dienstag, 29. Juli 2003 13:23 schrieb Sven Schupp:
Hallo,
Bernd Tannenbaum wrote:
Am Dienstag, 29. Juli 2003 12:57 schrieb Stefan Eggert:
sed -e /HSL/d File
Tja, ihr habt mir beide das Gleiche geschickt. Ich habs versucht, es ändert aber nix. Die Zeilen sind noch immer in der Datei. Er meckert auch nicht, scrollt das gesamte Log in Windeseile über meinen Bildschirm, aber hinterher sind immer noch Alle "HSL-Zeilen" drin.
sed -e /HSL/d File > newfile
Mußt schon ein neue File schreiben, ich glaube sed kann das so nicht...
Okay, das macht Sinn:) Hatte das vorher schonmal so mit der -n Option versucht, hatte nicht geklappt. Hätts direkt nochmal so mit -e probieren sollen, hab nicht dran gedacht. Thx für alle Antworten, Bernd -- One OS to rule them all, one OS to find them. One OS to bring them all, and in the darkness bind them In the land of Redmond, where the shadows lie.