IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 14, 2024, 1:32:26 PM (22 months ago)
Author:
eugene
Message:

code to build and install the file magic needed by dist_build.pl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/get_hosts_fixchip.sh

    r42462 r42720  
    2727
    2828foreach f ($basedir/$dateobs/XY??.hosts.txt)
    29   set myhost = `cat $f | grep -v ippb | sort -k 2n | tail -n 1 | prcol 1`
     29# set myhost = `cat $f | grep -v ippb | sort -k 2n | tail -n 1 | prcol 1`
     30  set myhost = `awk 'BEGIN{srand()}{print $0, rand()}' $f | grep -v ippb | sort -k 2n | tail -n 5 | sort -k 3n | tail -n 1 | prcol 1`
    3031  set chipID = `echo $f | awk -F/ '{print $NF}' | awk -F. '{print $1}'`
    3132  if ("$myhost" == "") then
Note: See TracChangeset for help on using the changeset viewer.