#!/bin/sh
+# Copyright 2011 Paul Hänsch
+# This file is part of Stereofy
+#
+# Stereofy is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# Stereofy is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with Stereofy. If not, see <http://www.gnu.org/licenses/>.
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=''
-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