#!/bin/ksh FILE=$1 COUNTER=1 perl ./program0 "${FILE}" "${FILE}.${COUNTER}" while [ $COUNTER -lt "5" ] ; do perl ./program${COUNTER} ${FILE}.${COUNTER} ${FILE}.$(expr ${COUNTE +R} + 1) COUNTER=$(expr $COUNTER + 1) done
In reply to Re: UNIX shell scripts + pipes
by kodo
in thread UNIX shell scripts + pipes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |