dig: single line

Patrick O'Callaghan pocallaghan at gmail.com
Thu Mar 12 00:01:34 UTC 2009


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




More information about the fedora-list mailing list