Run commands serially
serdo [-c] filename
serdo will open the file given by the command line argument and serially execute all the commands in it. If a command fails, the whole batch job is aborted (unless -c is given as first paramter on the serdo command line).
serdo understands the cd and export sh(1) built-ins (no loops, no ~user expansion, no $FOO expansion, no backticks).
serdo is very limited by design, but it is nice to have if you just want to run a few ifconfig, ip, route commands in sequence. serdo will return the exit code of the last command it ran, 0 if none were given.
minit was written by Felix von Leitner and can be downloaded from http://www.fefe.de/minit/
msvc(8), sh(1)