forked from tTh/FloatImg
outfile format now configurable
This commit is contained in:
parent
5da64b6145
commit
379bd1b7de
@ -10,7 +10,8 @@ NBRE=320
|
|||||||
PERIOD=0.0
|
PERIOD=0.0
|
||||||
COUNT=compteur
|
COUNT=compteur
|
||||||
OPTIONS=" -v "
|
OPTIONS=" -v "
|
||||||
SHOW="n"
|
SHOW="no"
|
||||||
|
OFORMAT="P_%04d.pnm"
|
||||||
|
|
||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
# overide parameters from $PWD
|
# overide parameters from $PWD
|
||||||
@ -34,7 +35,7 @@ if [ 1 -eq $# ]
|
|||||||
then
|
then
|
||||||
outfile="$1"
|
outfile="$1"
|
||||||
else
|
else
|
||||||
outfile=$( printf "P_%04d.pnm" $numero )
|
outfile=$( printf ${OFORMAT} $numero )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user