Browse Source

outfile format now configurable

master
tonton Th 2 years ago
parent
commit
379bd1b7de
  1. 5
      scripts/shoot.sh

5
scripts/shoot.sh

@ -10,7 +10,8 @@ NBRE=320 @@ -10,7 +10,8 @@ NBRE=320
PERIOD=0.0
COUNT=compteur
OPTIONS=" -v "
SHOW="n"
SHOW="no"
OFORMAT="P_%04d.pnm"
# ------------------------------------
# overide parameters from $PWD
@ -34,7 +35,7 @@ if [ 1 -eq $# ] @@ -34,7 +35,7 @@ if [ 1 -eq $# ]
then
outfile="$1"
else
outfile=$( printf "P_%04d.pnm" $numero )
outfile=$( printf ${OFORMAT} $numero )
fi
# ------------------------------------

Loading…
Cancel
Save