[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: only output the nth line



On Wed May 12 2010 09:58:57 Jozsi Vadkan wrote:
> sed -n '1,2p;4p' file.txt
>
> doesn't work.

Works for me in Lenny.  What output do you see?  What version
of sed do you have?

--Mike Bird


Reply to: