Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 13:50:34 -0800
From:      "Lee Mx" <lee_ver_mx@hotmail.com>
To:        nkinkade@ub.edu.bz
Cc:        freebsd-questions@freebsd.org
Subject:   Re: stumped... .
Message-ID:  <BAY8-F50gTFur2iz2Mb00040d15@hotmail.com>

next in thread | raw e-mail | index | archive | help

>
>"How can I delete all lines from /^PATTERN to EOF??"

I think that I read it wrong.  Either way he has a solution ;-)

>
>Unless I'm reading it wrong, he wants to *keep* everything from the
>beginning of the file to /^PATTERN/ and NOT keep everything else all the
>way to EOF.  The diff. between what I suggested and the what other
>suggested is that using 'q' would be inclusive, while the others are
>exclusive of the line matched by /^PATTERN/.  However, it wasn't clear
>which he wanted.
>
>Nathan
>--
>gpg --keyserver pgp.mit.edu --recv-keys D8527E49
><< attach3 >>

_________________________________________________________________
Rethink your business approach for the new year with the helpful tips here. 
http://special.msn.com/bcentral/prep04.armx



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY8-F50gTFur2iz2Mb00040d15>