hpssListCorr.csh 210 B

12345678
  1. #!/bin/csh
  2. set IN_FILE = $1
  3. set OUT_DIR = $2
  4. set OUT_FILE = $3
  5. cat $1 | awk '{ gsub("::","/",$1); print $1 }' | awk '{ gsub(".root",".root '$OUT_DIR'",$1); print $1 }' | awk -F'/' '{ print $0 "/" $11 }' > $3