X-Git-Url: https://git.plutz.net/?p=stereofy;a=blobdiff_plain;f=stereofy.sh;fp=stereofy.sh;h=a0d66d0324804007a552bf9b8d63ca8bebc8bc24;hp=d3f4763ec058df59fa2f075dd5b56b728c890fda;hb=4389d188bb5b43079da9fb4b5e87ac81202efedf;hpb=d756f57d5612c2fa4b6fff7db9af57ffbaef59cc diff --git a/stereofy.sh b/stereofy.sh index d3f4763..a0d66d0 100755 --- a/stereofy.sh +++ b/stereofy.sh @@ -1,7 +1,7 @@ #!/bin/sh algo="d" #algorythm, Dubois by default -model="rc" #color model, green-magenta by default +model="rc" #color model, red-cyan by default param="" #leave blank, will be -$algo$model left='' right='' @@ -15,7 +15,7 @@ while [ -n "$1" ]; do -rc|--rc|--red-cyan) model="rc";; -mc|--mc|--magenta-cyan) model="mc";; -gm|--gm|--green-magenta) model="gm";; - -ab|--ab|--amber-blue|yellow-blue) model="ab";; + -ab|--ab|--amber-blue|--yellow-blue) model="ab";; -[dfh]rc|-[dfh]gm|-[fe]mc|-dab) param="$1";; -*) echo "no such color model" >/dev/stderr; exit 1;; *) if [ -z "$left" ]; then