[SunHELP] grepping lines
sunhelp at sunhelp.org
sunhelp at sunhelp.org
Fri Feb 23 20:41:03 CST 2001
Please check this command. It does not work.
Wally
>From: Mike Meredith <hmv at meredithm.fsnet.co.uk>
>Reply-To: sunhelp at sunhelp.org
>To: sunhelp at sunhelp.org
>Subject: Re: [SunHELP] grepping lines
>Date: Fri, 23 Feb 2001 18:19:58 +0000
>
>On Fri, 23 Feb 2001, you wrote:
>
> > > Hi all unix guru's.
> > I want to "cat" a file and then choose all lines between 2 and 10.
> > how can i do this? Thanks
>
>echo "2,10p\nq\n" | ed -s file
>_______________________________________________
>SunHELP maillist - SunHELP at sunhelp.org
>http://www.sunhelp.org/mailman/listinfo/sunhelp
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
More information about the SunHELP
mailing list