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

File: [Development] / JSOC / proj / globalhs / scripts / pkbgn / pcombine (download)
Revision: 1.1, Fri Apr 23 08:13:44 2010 UTC (8 years, 4 months ago) by tplarson
Branch: MAIN
CVS Tags: Ver_LATEST, Ver_9-2, 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-9, Ver_5-14, Ver_5-13, Ver_5-12, Ver_5-11, Ver_5-10, HEAD
files needed by dopkbgn

# script to combine a parameter file and a mode file from extract
awk '{print 100000+100*$2+$1,$0}'<$1>/tmp/tmp1.$$
awk '{print 100000+100*$1+$2,$0}'<$2>/tmp/tmp2.$$
join /tmp/tmp1.$$ /tmp/tmp2.$$ | sed 's/^[0-9]* //' > $3
rm /tmp/tmp1.$$ /tmp/tmp2.$$


Karen Tian
Powered by
ViewCVS 0.9.4