Name2instance

From pressy's brainbackup
Jump to: navigation, search

Name2Instance

weird Solaris... check the references between sd[d] and cxtxdxsx

echo | format | \
awk '/</ {printf $2; getline; printf ":"$1"\n"}' | \
while read x ; do print "${x%:*} `grep ${x#*:} /etc/path_to_inst | \
awk '{print $3 $2}' | sed 's/\"//g'`"; done