Changeset 42462 for trunk/tools/eam/rawfix.20230221/src/get_hosts_md5s.sh
- 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_md5s.sh
r42452 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 21 24 22 25 # report both the dateobs and the hostnames 23 ls $ topdir/$dateobs/*.inst.$stage.txt | grep -v "XY...inst" | awk -v dateobs=$dateobs -v stage=$stage -F/ '(NR == 1){print "dateobs stage md5host"}{print dateobs, stage, $NF}' | sed s/.inst.$stage.txt//26 ls $basedir/$dateobs/*.inst.$stage.txt | grep -v "XY...inst" | awk -v dateobs=$dateobs -v stage=$stage -F/ '(NR == 1){print "dateobs stage md5host"}{print dateobs, stage, $NF}' | sed s/.inst.$stage.txt// 24 27 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.
