(file) Return to mdiff CVS log (file) (dir) Up to [Development] / JSOC / proj / globalhs / scripts / pkbgn

File: [Development] / JSOC / proj / globalhs / scripts / pkbgn / mdiff (download)
Revision: 1.1, Mon Aug 15 19:47:55 2011 UTC (6 years, 8 months ago) by tplarson
Branch: MAIN
CVS Tags: Ver_LATEST, Ver_9-1, Ver_9-0, Ver_8-8, Ver_8-7, Ver_8-6, Ver_8-5, Ver_8-4, Ver_8-3, Ver_8-2, Ver_8-12, Ver_8-11, Ver_8-10, Ver_8-1, Ver_8-0, Ver_7-1, Ver_7-0, Ver_6-4, Ver_6-3, Ver_6-2, Ver_6-1, Ver_6-0, Ver_5-14, HEAD
utility to find modes present in only one of two mode files

# script to find unmatched modes
gawk '{print 100000+100*$1+$2,$0}'<$1>/tmp/tmp1.$$
gawk '{print 100000+100*$1+$2,$0}'<$2>/tmp/tmp2.$$
join -v $3 /tmp/tmp1.$$ /tmp/tmp2.$$ | sed 's/^[0-9]* //'
rm /tmp/tmp1.$$ /tmp/tmp2.$$

Karen Tian
Powered by
ViewCVS 0.9.4