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

sed question



I need a sed invocation to extract quotes (") from around a string.

Basicly `cat /etc/bind/named.conf | grep zone | cut -d " " | sed $something'

to give me a list of zones I run bind for so I can:
for zone in `$sedcsript`
	do
	$SOME $zone $MANAGENENT
	done


or if there is a better way......
I get tired of hand editing....esp since I can't seem to remember cut&paste
in vi



Reply to: