Changeset 570 for BAORadio/AmasNancay/trunk/proc_specmfib.sh
- Timestamp:
- Oct 11, 2011, 11:29:33 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BAORadio/AmasNancay/trunk/proc_specmfib.sh
r567 r570 86 86 $ECHO "FATAL: You have forgotten to select the type option (-type)" 87 87 exit 1 88 else 89 offtype=`$ECHO ${typeofproc} | $GREP -i OFF | $WC -l` 90 ontype=`$ECHO ${typeofproc} | $GREP -i ON | $WC -l` 91 if [ "<${offtype}>" = "<1>" -a "<${ontype}>" = "<0>" ]; then 92 datatype="OFF" 93 elif [ "<${offtype}>" = "<0>" -a "<${ontype}>" = "<1>" ]; then 94 datatype="ON" 95 else 96 $ECHO "FATAL: not supported: -type ${typeofproc}" 97 exit 1 98 fi 99 fi 88 89 fi 90 #else 91 # offtype=`$ECHO ${typeofproc} | $GREP -i OFF | $WC -l` 92 # ontype=`$ECHO ${typeofproc} | $GREP -i ON | $WC -l` 93 # if [ "<${offtype}>" = "<1>" -a "<${ontype}>" = "<0>" ]; then 94 # datatype="OFF" 95 # elif [ "<${offtype}>" = "<0>" -a "<${ontype}>" = "<1>" ]; then 96 # datatype="ON" 97 # else 98 # $ECHO "FATAL: not supported: -type ${typeofproc}" 99 # exit 1 100 # fi 101 #fi 100 102 101 103 … … 220 222 #JEC 29/9/11 avoid finished stuff 221 223 #$RM -f ${tmppublicpath}/select.finished 222 ${scriptpath}/select.sh ${scaFileSummarized} ${dirFiberfile} ${ datatype} | $GREP "^#[0-9]" | $SED "s/^#//" > $headerFileSelected224 ${scriptpath}/select.sh ${scaFileSummarized} ${dirFiberfile} ${typeofproc} | $GREP "^#[0-9]" | $SED "s/^#//" > $headerFileSelected 223 225 #while [ ! -f "${tmppublicpath}/select.finished" ]; do 224 226 # $ECHO "INFO (${scriptName}): waiting for ${tmppublicpath}/select.finished"
Note: See TracChangeset
for help on using the changeset viewer.