On Wed, 2009-03-11 at 22:18 +0000, Mike -- EMAIL IGNORED wrote: > Is there a way to get dig to return at most > one line? For example (on FC7), : > > #dig +short +search +nomultiline www.ieee.org > a165.g.akamai.net. > 204.2.177.34 > 204.2.177.41 > > is not exactly "nomultiline". I don't think nomultiline does what you think it does. I suspect, from reading the man file, it's about individual records that have multiline outputs, not whole query answers that do. e.g. If a single record, like the "a165.g.akamai.net" data, had more information directly associated with it. But, whatever it actually means, you could tag the following onto the end of your command line: |head -n 1 -- [tim@localhost ~]$ uname -r 2.6.27.19-78.2.30.fc9.i686 Don't send private replies to my address, the mailbox is ignored. I read messages from the public lists. -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines