home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume4 / se / part8 / se_h / shell < prev    next >
Encoding:
Text File  |  1986-11-30  |  865 b   |  18 lines

  1.  
  2.         ! --- shell escape
  3.  
  4.         default range                            syntax
  5.                 1,$                      ![<Unix command>]
  6.  
  7.         The user's choice of shell is taken from the $SHELL environment vari-
  8.         able and used to execute <Unix command> if it is present.  Otherwise,
  9.         an  interactive shell is created. A leading ! is replaced by the pre-
  10.         vious  shell  command.  Thus !!  executes  the previous  command.  An
  11.         unescaped  % is replaced  by  the saved  file name. An expanded shell
  12.         command is echoed  before it is  executed. After an interactive shell
  13.         exits, the screen is immediately  redrawn. If a  command was run, the
  14.         results are left on the  screen,  and the user must  type a return to
  15.         redraw the editing window.
  16.  
  17.         To return to the command directory, type "hcomdir".
  18.