http://qs321.pair.com?node_id=525985


in reply to Re: Pattern problem
in thread Pattern problem

or simply
perl -ne 'print if /Host System [^#]/;' records.txt


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
grrr.... argh!

Replies are listed 'Best First'.
Re^3: Pattern problem
by Mago (Parson) on Jan 27, 2006 at 15:41 UTC
    perl -pe 's/(Host System [^#].+)|.+/$1/gs' records.txt
    =****

    Mago
    mago@rio.pm.org