rc(1) - shell
-c     If  -c  is  present,  commands  are executed from the immediately following argument.  Any further
       arguments to rc are placed in $*.  Thus:

            rc -c 'echo $*' 1 2 3

       prints out

            1 2 3
-d     This flag causes rc not to ignore SIGQUIT or SIGTERM.  Thus rc can be made to dump  core  if  sent
       SIGQUIT.  This flag is only useful for debugging rc.
-e     If  the  -e flag is present, then rc will exit if the exit status of a command is false (nonzero).
       rc will not exit, however, if a conditional fails, e.g., an if() command.
-i     If the -i flag is present or if the input to rc is from a terminal (as  determined  by  isatty(3))
       then  rc  will be in interactive mode.  That is, a prompt (from $prompt(1)) will be printed before
       an input line is taken, and rc will ignore SIGINT.
-I     If the -I flag is present, or if the input to rc is not from a terminal, then rc will  not  be  in
       interactive mode.  No prompts will be printed, and SIGINT will cause rc to exit.
-l     If  the  -l  flag  is present, or if rc's argv[0][0] is a dash (-), then rc will behave as a login
       shell.  That is, it will run commands from $home/.rcrc, if this file exists,  before  reading  any
       other input.
-n     This  flag  causes  rc  to  read its input and parse it, but not to execute any commands.  This is
       useful for syntax checking on scripts.  If used in combination with the -x  flag,  rc  will  print
       each  command  as  it is parsed in a form similar to the one used for exporting functions into the
       environment.
-o     This flag prevents the usual practice of trying to open /dev/null on file descriptors 0, 1, and 2,
       if any of those descriptors are inherited closed.
-p     This  flag  prevents rc from initializing shell functions from the environment.  This allows rc to
       run in a protected mode, whereby it becomes more difficult for an rc script  to  be  subverted  by
       placing  false  commands  in  the environment.  (Note that the presence of this flag does not mean
       that it is safe to run setuid rc scripts; the usual caveats about the setuid bit still apply.)
-s     This flag causes rc to read from standard input.  Any arguments are placed in $*.
-v     This flag causes rc to echo its input to standard error as it is read.
-x     This flag causes rc to print every command on standard error before it is  executed.   It  can  be
       useful for debugging rc scripts.