eoo=
while [ -n "$1" ]; do
    case "$1" in