Moin, On Wed, Sep 03, 2008 at 08:33:02AM +0200, mark.brandis@gmx.de wrote: > Wie sieht ein Einzeiler aus, der mehrere Zeilen aus einer Datei rausholt, die mit einem Start und Ende String markiert sind. > 1 > 2 > ###START### > 3 > 4 > ###END### > 5 > 6 perl -i -ne 'next if /^###START###$/../^###END###$/; print' foobar.txt Gruesse wose
Attachment:
signature.asc
Description: Digital signature