#!/bin/sh read todo if [ "$todo" = "" ] ; then exit fi if [ "$todo" = "push" ] ; then read filename cat > "$filename" exit fi if [ "$todo" = "exec" ] ; then read command exec bash -c "$command" fi echo "invalid command: $todo"