I'm using dns to manage my virtual hosts. In order to do so I query my nameserver with the host command for for certain values is need. For example:
> host -t txt mycl1.vz mycl1.vz.myserver.de descriptive text "1026"
but I only need
1026 as answer without the chatter. Currently I'm using sed to remove it like:
| sed -e 's/.*descriptive text "\(.*\)"/\1/'
but this seems a little "unstable" and I wonder if there isn't some command which would give me the plain output in the first place?