fiss

Friedel's Initialization and Service Supervision
Log | Files | Refs | LICENSE

serdo.8.txt (1588B)


      1 @man serdo 8 "JAN 2024" "%VERSION$" "fiss man page"
      2 @header serdo(8) %VERSION%
      3 
      4 @title name Name
      5 
      6 *serdo* - runs programs serially
      7 
      8 @title synopsis Synopsis
      9 
     10 *serdo* [*-c*] [filename]
     11 
     12 @title description Description
     13 
     14 *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). For testing purposes you can omit the filename and it will read from standard-input. *serdo* isn't supposed to be run as an interactive shell, thus there is no prompt or whatsoever. You can exit the session by running the *false* command or closing standard input (with Ctrl-D).
     15 
     16 serdo understands the *cd* and *export* sh(1) built-ins (no loops, no ~/home expansion, no $FOO expansion, no backticks).
     17 
     18 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.
     19 
     20 @title built-in-commands Built-in Commands
     21 @list
     22 *cd* <*path*>~
     23 changes the directory to the given path.
     24 
     25 *export* [*variable=value* ...]~
     26 exports given valiables of overrides if already set. Executed without arguments will print current environment valiables. Remember that variable-expension isn't available, thus _export PATH="$PATH:/commands"_ will not work.
     27 @endlist
     28 
     29 @title author Author
     30 
     31 *serdo* is part of [*minit*](http://www.fefe.de/minit/) was originally written by Felix von Leitner and later modified by Friedel Schon