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

Re: dig: single line



On Wed, 2009-03-11 at 23:32 +0000, Mike -- EMAIL IGNORED wrote:
> The head suggestion won't work, because in the above example,
> it is the second line I want.

A trivial excercise for old Shell hands, e.g.

        program | head -n 2 | tail -n 1

or

        program | sed -n 2p

poc


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