Name2instance

From pressy's brainbackup
Revision as of 14:55, 8 October 2010 by WikiSysop (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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