home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / doshelp / helpsb.zoo / help / edlin / examples.hlp < prev    next >
Encoding:
Text File  |  1989-01-01  |  1.4 KB  |  32 lines

  1.   Example input:        What it means (the Return, Enter or <──┘ key 
  2.                 must be pressed after each command line. EDLIN
  3.                 prints out a line number and ":*" before each
  4.                 line displayed or to be edited.
  5.  
  6.   C>EDLIN TEST.TXT<──┘        The EDLIN command is executed.
  7.   New file            Since the file TEST.TXT did not previously
  8.                 exist, the new file prompt is printed.
  9.   *I<──┘            An Insert command is entered. By default,
  10.                 the first line inserted will be just before
  11.                 the end of file.
  12.       1:*"This is a test, only one test!"<──┘
  13.     2:*Ctrl-Z<──┘
  14.                 One line of text is entered, and then the
  15.                 insert mode is ended, by entering the Ctrl-Z
  16.                 character on a line by itself.
  17.   *E<──┘            An End command is entered. EDLIN writes out
  18.                 the file, and terminates processing.
  19.   C>EDLIN TEST.TXT<──┘        The EDLIN command is executed again.
  20.   End of input file        The file TEST.TXT now exists, so a different
  21.                 prompt is printed.
  22.   *P<──┘            A Page command is entered, to print 23 lines
  23.                 of the file. By default, it begins with line 1.
  24.     1:*"This is a test, only one test!"
  25.   *Q<──┘            A Quit command is entered.
  26.   Abort edit (Y/N)?Y<──┘    EDLIN asks if all modifications to the file
  27.                 are to be lost and the file left unchanged. 
  28.                 A "Y" response is entered, and EDLIN terminates
  29.                 processing.
  30.  
  31. Also, see the RD RDSTAR topic for examples of EDLIN use in BATCH files.
  32.