I\'m getting totally lost in shell programming, mainly because every site I use offers different tool to do pattern matching. So my question is what tool to use to do simple pat
Well, nobody mentioned cut yet, so, to prove that there are many ways to do something with the shell:
cut
% grep '^zone' /etc/bind/named.conf | cut -d' ' -f2 "gennic.net" "generic-nic.net" "dyn.generic-nic.net" "langtag.net"