#!/bin/csh -f # # NAME: # alignstatus # PURPOSE: # Check the progress of the most recent run of MOSES_ALIGN_ORDERS. # CALLING SEQUENCE: # % alignstatus # MODIFICATION HISTORY: # 2006-Jun-20 C. Kankelborg # Find the latest log file from MOSES_ALIGN_ORDERS foreach filename (`ls moses_align_orders.log*`) end # Look at the lines that specify times and exposures. cat $filename | grep 'exposure\|lignment\|ncalls' | tail