1 TAIL
  Displays the tail end of a file or group of  files  on  the  current
  output device.

  Format:


    TAIL  file-spec[,...]
2 Parameters

 file-spec[,...]

  Specifies one or more files to be displayed.  If you specify a  file
  name  and  do  not  specify  a  file type, the TAIL command uses the
  default file type LIS.

  If you specify two or more files, separate the  file  specifications
  with  either  commas  or plus signs.  The files are displayed in the
  order listed.

  You can specify wildcard characters in place of the directory  name,
  file  name,  file  type,  or  file  version  number field.  The TAIL
  command displays all files that satisfy the file description.

  DECnet and magnetic tape operations are not supported.
2 Command_Qualifiers

/OUTPUT
 /OUTPUT[=file-spec]
 /NOOUTPUT

  Controls where the output of the command is sent.   If  you  do  not
  enter  the  qualifier,  or  if  you  enter  /OUTPUT  without  a file
  specification, the output is sent to  the  current  process  default
  output stream or device, identified by the logical name SYS$OUTPUT.

  If you enter /OUTPUT with a partial file specification (for example,
  /OUTPUT=[JONES]),  TYPE is the default file name and LIS the default
  file type.  If you enter a file specification, it  may  not  include
  any wildcard characters.

  If you enter /NOOUTPUT, output is suppressed.

  The /OUTPUT qualifier is incompatible with the /PAGE qualifier.

/LAST

 /LAST[=20]

  Requests that the last  twenty (20)  lines of the file be displayed.
  The default number to print is twenty.  Any number greater than zero
  my be used.

2 Examples

  1.   $ TAIL COMMON.DAT

  The TAIL command  requests that  the last  twenty lines  of the file
  COMMON.DAT be displayed at the terminal.

  2.   $ TAIL *.DAT
       This is the first of the last twenty lines in the file AA.DAT.
          .
          .
          .
       ^O
       This is the first of the last twenty lines in the file BB.DAT.
          .
          .
          .
       <CTRL/Y>
       Interrupt

       $ STOP

  The TAIL command contains a wildcard character in place of the  file
  name.   All  files with file types of DAT are scheduled for display.
  When CTRL/O is pressed, output of the current  file  stops  and  the
  TAIL command begins displaying the next file.  CTRL/Y interrupts the
  command; the STOP command terminates the TAIL command.

  3.   $ TAIL AA.DAT, BB.DAT, *.MEM

       This is the first of the last twenty lines in the file AA.DAT.
          .
          .
          .

       SYS$DISK:[HOME]BB.DAT;1

       This is the first of the last twenty lines in the file BB.DAT.
          .
          .
          .

       SYS$DISK:[HOME]AA.MEM;1

       This is the first of the last twenty lines in the file AA.MEM.
          .
          .
          .

       SYS$DISK:[HOME]BB.MEM;1

       This is the first of the last twenty lines in the file BB.MEM.
          .
          .
          .

  The TAIL command displays  the last twenty lines of the files on the
  command line.   The contents of each file is divided  by the name of
  the file to be printed next.

  4.   $ TAIL NOTICE.TEXT/OUTPUT=TEMP.TEXT

  The  TAIL command  requests  that the  last twenty lines  of the file
  NOTICE.TEXT  be  written  to the output file  TEMP.TEXT  rather  than
  to SYS$OUTPUT.

  5.   $ TAIL THIS.DAT/LAST=30

  The  TAIL  command  requests that  the  last thirty lines of the file
  THIS.DAT be displayed on the current output device.
