home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / utility / disk / tail11 / tail.1 < prev    next >
Text File  |  1991-10-22  |  4KB  |  110 lines

  1.  
  2.       NAME         
  3.          tail - show last lines of textfile(s) 
  4.  
  5.       SYNTAX         
  6.          tail [-l number] [-s] [-o output] file...  
  7.  
  8.       USAGE         
  9.          'tail' shows the last 10 lines of a textfile. With '-l' you
  10.          can modify this, for example 
  11.  
  12.             tail -l5 test.txt
  13.  
  14.          shows the last 5 lines of the file 'test.txt'. And 
  15.  
  16.             tail -l +5 test.txt
  17.  
  18.          displays the file starting 5 lines from the beginning.  
  19.  
  20.          If you specify more than one file or if you supply the '-s'
  21.          switch, the name of each file is printed on the standard
  22.          output.  
  23.  
  24.          The switch '-o' redirects the output to the given file. The
  25.          file is overwritten if it exists.  
  26.  
  27.       SEE ALSO        
  28.          head(1) 
  29.  
  30.          WILDCARDS         
  31.  
  32.          You may use the GEMDOS wildcards ? and * when specifying
  33.          filenames.  For now they may only occur in the filenamepart,
  34.          the last part of a pathname.  These wildcards will be
  35.          expanded into a sorted list of filenames. For example: 
  36.  
  37.             c:\signum\doc\*.*       
  38.  
  39.          Expands to all the files in the 'c:\signum\doc' directory. If
  40.          a wildcard matches not at least one file, the program is
  41.          aborted with the message: "File not found".  
  42.  
  43.          Everything within quotes is not expanded, so 
  44.  
  45.             'c:\usr\signum\doc\*.*'
  46.  
  47.          is not expanded. As quotes the following characters are
  48.          recognized: ', " and %. I've added the last one since some
  49.          shells remove quotes when passing a commandline to a
  50.          program.  
  51.  
  52.          You can use the character ^ to stand for a space, since some
  53.          shells have the habit of breaking a word always at a space,
  54.          even when it is quoted. So One^Word becomes "One Word" in you
  55.          C-program.  
  56.  
  57.          ESCAPE MECHANISM        
  58.  
  59.          Use the slash (/) to enter controlcodes and other codes that
  60.          are  difficult to type. A slash also provides a mechanism to
  61.          suppress the usual meaning of ?, * and ^. So *.* expands to a
  62.          list of filenames but /* is just a asterisk. ^ is normally
  63.          converted to a space but /^ is a caret.  
  64.  
  65.          The following codes have a special meaning: 
  66.  
  67.             /n - linefeed   /t   - horizontal tab
  68.             /r - return     /b   - backspace
  69.             /e - escape     /xxx - the character whose decimal code
  70.             /^ - caret             is xxx, e.g. /65 is 'A'.
  71.             /* - asterisk
  72.             /? - question mark
  73.  
  74.          All other codes are ignored, so /A is just the letter A. Use
  75.          // to enter a single slash.  
  76.  
  77.       AUTHOR         
  78.          A.V. Sijtsma
  79.          Telderslaan 23
  80.          3527 KD  Utrecht
  81.          The Netherlands
  82.  
  83.          Fidonet: 2:/281/701.4
  84.  
  85.          If you use this program, please send me a nice postcard. Suggestions,
  86.          bug reports etc. are also welcome.
  87.  
  88.                                DISCLAIMER        
  89.  
  90.                  NO   GUARANTEE  IS  GIVEN  FOR  THE  FUNCTIONS
  91.                  PERFORMED  BY  THIS  SOFTWARE.  USE IT AT YOUR
  92.                  OWN  RISK.  IF  ALL  THE  DATA  ON YOUR SYSTEM
  93.                  VANISH   INTO   THIN   AIR,  IT  IS  YOUR  OWN
  94.                  RESPONSIBILITY.   THE  AUTHOR  CANNOT  BE HELD
  95.                  RESPONSIBLE  FOR  ANY  USE OF THIS SOFTWARE IN
  96.                  ANY CONCEIVABLE OR UNCONCEIVABLE WAY.  
  97.  
  98.                  THIS  IS  PUBLIC DOMAIN SOFTWARE. FEEL FREE TO
  99.                  DISTRIBUTE  IT.  YOU  MAY,  HOWEVER, CHARGE NO
  100.                  MONEY  APART  FROM A SMALL FEE FOR POSTAGE AND
  101.                  HANDLING.  THIS SOFTWARE IS UNSUPPORTED BY ME.
  102.                  THAT  IS:  I'VE  MADE IT JUST FOR FUN AND HAVE
  103.                  NO  INTENTION OF MAINTAINING IT FOR ANYONE BUT
  104.                  MYSELF.  
  105.  
  106.  
  107.       IDENTIFICATION         
  108.          $Id: tail.prf,v 1.1 1991/10/22 21:12:18 LexSijtsma Exp LexSijtsma 
  109.  
  110.