10 Apr
2005
10 Apr
'05
19:06
Hallo David,
Die Krönung wäre noch eine ODER-Bedingung nach dem Muster. Lösche die Zeile falls kein "e" oder "E" enthalten ist.
sed '/[eE]/!d'
==== man sed ==== After the address (or address-range), and before the com mand, a ! may be inserted, which specifies that the com mand shall only be executed if the address (or address- range) does not match. ====
auf die Idee das Kommando zu negieren wäre ich wohl nie gekommen. Ich glaube mir fehlt das auch noch das Auge, man-pages richtig zu lesen. Wieder etwas dazu gelernt. Gruß Thomas