IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 13, 2016, 9:12:44 AM (10 years ago)
Author:
eugene
Message:

fix grep to exclude lines with initial #, not # anywhere; regenerate pv3 tables

Location:
trunk/dvodist/scripts
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/dvodist/scripts/mkdist.3pi.pv0.20120509.sh

    r39557 r39573  
    2929
    3030# link all files from all hostdirs into all DEC dirs
    31 foreach hostdir (`grep -v \# $cattgt/HostTable.dat | grep ipp0\[345\] | awk '{print $3}'`)
    32 # foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
     31foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | grep ipp0\[345\] | awk '{print $3}'`)
     32# foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | awk '{print $3}'`)
    3333  echo $hostdir
    3434  foreach dir ($nlist $slist)
  • trunk/dvodist/scripts/mkdist.3pi.pv0.20120525.sh

    r39553 r39573  
    2929
    3030# link all files from all hostdirs into all DEC dirs
    31 foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
     31foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | awk '{print $3}'`)
    3232  echo $hostdir
    3333  foreach dir ($nlist $slist)
  • trunk/dvodist/scripts/mkdist.3pi.pv0.20120606.sh

    r39553 r39573  
    2929
    3030# link all files from all hostdirs into all DEC dirs
    31 foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
     31foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | awk '{print $3}'`)
    3232  echo $hostdir
    3333  foreach dir ($nlist $slist)
  • trunk/dvodist/scripts/mkdist.3pi.pv0.20130227.sh

    r39553 r39573  
    2929
    3030# link all files from all hostdirs into all DEC dirs
    31 foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
     31foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | awk '{print $3}'`)
    3232  echo $hostdir
    3333  foreach dir ($nlist $slist)
  • trunk/dvodist/scripts/mkdist.3pi.pv0.20140621.sh

    r39553 r39573  
    2929
    3030# link all files from all hostdirs into all DEC dirs
    31 foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
     31foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | awk '{print $3}'`)
    3232  echo $hostdir
    3333  foreach dir ($nlist $slist)
  • trunk/dvodist/scripts/mkdist.3pi.pv0.20140713.sh

    r39552 r39573  
    2929
    3030# link all files from all hostdirs into all DEC dirs
    31 foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
     31foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | awk '{print $3}'`)
    3232  echo $hostdir
    3333  foreach dir ($nlist $slist)
  • trunk/dvodist/scripts/mkdist.3pi.pv1.20130708.sh

    r39552 r39573  
    2929
    3030# link all files from all hostdirs into all DEC dirs
    31 foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
     31foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | awk '{print $3}'`)
    3232  echo $hostdir
    3333  foreach dir ($nlist $slist)
  • trunk/dvodist/scripts/mkdist.3pi.pv2.20141215.sh

    r39552 r39573  
    2929
    3030# link all files from all hostdirs into all DEC dirs
    31 foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
     31foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | awk '{print $3}'`)
    3232  echo $hostdir
    3333  foreach dir ($nlist $slist)
  • trunk/dvodist/scripts/mkdist.3pi.pv3.20160422.sh

    r39552 r39573  
    1616
    1717# top-level files
    18 if (1) then
     18if (0) then
    1919  mkdir -p $cattgt
    2020  foreach file (HostTable.dat AstroMap.fits Images.dat Photcodes.dat SkyTable.fits flatcorr.fits flatfield.fits )
     
    2929
    3030# link all files from all hostdirs into all DEC dirs
    31 foreach hostdir (`grep -v \# $cattgt/HostTable.dat | awk '{print $3}'`)
     31# foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | awk '{print $3}'`)
     32foreach hostdir (`grep -v "^#" $cattgt/HostTable.dat | grep "#" | awk '{print $3}'`)
    3233  echo $hostdir
    3334  foreach dir ($nlist $slist)
Note: See TracChangeset for help on using the changeset viewer.