Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 25 lines (22 sloc) 711 Bytes
#!/bin/bash
mstr=""
for i in "$@"
do
tmpnm="/tmp/`uuidgen`.tmp"
ms=`/opt/bin/find-midsection.sh "$i" | tail -n 1 | awk '{print $1}'`
px=`/opt/bin/phd-nzs "$i" | tail -n 1`
/opt/bin/sheledm5.m "$i" $ms $px
mstr="${mstr} $i.shell.tif "
nint="$i.NEint.csv"
apli="#`date +%Y%m%d\ %H:%M:%S` $nint"
if test -r $nint;
then
echo $apli > $tmpnm
cat $nint >> $tmpnm
mv $tmpnm $nint
fi
done
newmstr="montage -size 256x256 ${mstr} -thumbnail 200x200 -set caption %t -bordercolor GhostWhite -background gray20 -polaroid 1.5 +set label -background white -geometry +1+1 "
mstrpng="montage-`basename $i`-`date +%H%M%S`.png"
$newmstr $mstrpng
display $mstrpng &