- Timestamp:
- May 12, 2023, 9:21:20 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/eam/rawfix.20230221/src/get_hosts_fixchip.sh
r42457 r42462 15 15 endif 16 16 17 if (! -d $topdir/$dateobs) then 18 echo "ERROR: missing dateobs directory $topdir/$dateobs" 17 set yearobs = `echo $dateobs | awk '{print substr($1,1,4)}'` 18 set basedir = $topdir/$yearobs 19 20 if (! -d $basedir/$dateobs) then 21 echo "ERROR: missing dateobs directory $basedir/$dateobs" 19 22 exit 3 20 23 endif … … 23 26 echo "dateobs chipID iter fixhost" 24 27 25 foreach f ($ topdir/$dateobs/XY??.hosts.txt)28 foreach f ($basedir/$dateobs/XY??.hosts.txt) 26 29 set myhost = `cat $f | grep -v ippb | sort -k 2n | tail -n 1 | prcol 1` 27 30 set chipID = `echo $f | awk -F/ '{print $NF}' | awk -F. '{print $1}'`
Note:
See TracChangeset
for help on using the changeset viewer.
