Print this page
13507 some man pages need update following 13405
6308 some man pages are obsolete after moving to ksh builtins

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1/tee.1.man.txt
          +++ new/usr/src/man/man1/tee.1.man.txt
   1    1  TEE(1)                           User Commands                          TEE(1)
   2    2  
   3      -
   4      -
   5    3  NAME
   6      -       tee - replicate the standard output
        4 +     tee - replicate the standard output
   7    5  
   8    6  SYNOPSIS
   9      -   /usr/bin/tee
  10      -       /usr/bin/tee [-ai] [file]...
        7 +     tee [-ail] [file]...
  11    8  
  12      -
  13      -   ksh93
  14      -       tee [-ail] [file]...
  15      -
  16      -
  17    9  DESCRIPTION
  18      -   /usr/bin/tee
  19      -       /usr/bin/tee copies standard input to standard output, making a copy in
  20      -       zero or more files. tee does not buffer its output. The options
  21      -       determine if the specified files are overwritten or appended to.
       10 +     tee copies standard input to standard output, making a copy in zero or
       11 +     more files.  tee does not buffer its output by default (but see the -l
       12 +     option).  The options determine if the specified files are overwritten or
       13 +     appended to.  If a write to a file fails, tee continues to write to other
       14 +     files although it exits with a non-zero exit status.
  22   15  
  23   16     ksh93
  24      -       The tee built-in in ksh93 is associated with the /bin and /usr/bin
  25      -       paths. It is invoked when tee is executed without a pathname prefix and
  26      -       the pathname search finds a /bin/tee or /usr/bin/tee executable.
       17 +     The tee built-in in ksh93(1) is associated with the /bin and /usr/bin
       18 +     paths.  It is invoked when tee is executed without a pathname prefix and
       19 +     the pathname search finds a /bin/tee or /usr/bin/tee executable.
  27   20  
  28      -
  29      -       tee copies standard input to standard output and to zero or more files.
  30      -       The options determine whether the specified files are overwritten or
  31      -       appended to. The tee utility does not buffer output. If a write to a
  32      -       file fails, tee continues to write to other files although it exits
  33      -       with a non-zero exit status.
  34      -
  35      -
  36      -       The number of file operands that can be specified is limited by the
  37      -       underlying operating system.
  38      -
  39   21  OPTIONS
  40      -   /usr/bin/tee
  41      -       The following options are supported by /usr/bin/tee:
       22 +     The following options are supported:
  42   23  
  43      -       -a
  44      -             Appends the output to the files rather than overwriting them.
       24 +     -a, --append  Appends the output to the files rather than overwriting
       25 +                   them.
  45   26  
       27 +     -i, --ignore-interrupts
       28 +                   Ignores SIGINT signal.
  46   29  
  47      -       -i
  48      -             Ignores interrupts.
       30 +     -l, --linebuffer
       31 +                   Sets the standard output to be line buffered.
  49   32  
  50      -
  51      -   ksh93
  52      -       The following options are supported by the tee built-in command in
  53      -       ksh93:
  54      -
  55      -       -a
  56      -       --append
  57      -                              Appends the output to the files rather than
  58      -                              overwriting them.
  59      -
  60      -
  61      -       -i
  62      -       --ignore-interrupts
  63      -                              Ignores SIGINT signal.
  64      -
  65      -
  66      -       -l
  67      -       --line-buffer
  68      -                              Sets the standard output to be line buffered.
  69      -
  70      -
  71   33  OPERANDS
  72      -       The following operands are supported:
       34 +     The following operands are supported:
  73   35  
  74      -       file
  75      -               A path name of an output file. Processing of at least 13 file
  76      -               operands are supported.
       36 +     file          A path name of an output file.  Processing of at least 13
       37 +                   file operands is supported.
  77   38  
       39 +EXIT STATUS
       40 +     0       All files copied successfully.
  78   41  
  79      -USAGE
  80      -       See largefile(5) for the description of the behavior of tee when
  81      -       encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
       42 +     >0      An error occurred.
  82   43  
  83   44  ENVIRONMENT VARIABLES
  84      -       See environ(5) for descriptions of the following environment variables
  85      -       that affect the execution of tee: LANG, LC_ALL, LC_CTYPE, LC_MESSAGES,
  86      -       and NLSPATH.
       45 +     See environ(5) for descriptions of the following environment variables
       46 +     that affect the execution of tee: LANG, LC_ALL, LC_TYPE, LC_MESSAGES,
       47 +     LC_NUMERIC, and NLSPATH.
  87   48  
  88      -EXIT STATUS
  89      -   /usr/bin/tee
  90      -       The following exit values are returned by /usr/bin/tee:
       49 +INTERFACE STABILITY
       50 +     The command line interface of tee is Committed.  The output of tee is
       51 +     Committed.  The ksh93(1) built-in binding to /bin and /usr/bin is
       52 +     Volatile.
  91   53  
  92      -       0
  93      -             The standard input was successfully copied to all output files.
  94      -
  95      -
  96      -       >0
  97      -             The number of files that could not be opened or whose status
  98      -             could not be obtained.
  99      -
 100      -
 101      -   ksh93
 102      -       The following exit values are returned by tee in ksh93:
 103      -
 104      -       0
 105      -             Successful completion.
 106      -
 107      -
 108      -       >0
 109      -             An error occurred.
 110      -
 111      -
 112      -ATTRIBUTES
 113      -       See attributes(5) for descriptions of the following attributes:
 114      -
 115      -   /usr/bin/tee
 116      -
 117      -
 118      -
 119      -       +--------------------+-------------------+
 120      -       |  ATTRIBUTE TYPE    |  ATTRIBUTE VALUE  |
 121      -       +--------------------+-------------------+
 122      -       |CSI                 | Enabled           |
 123      -       +--------------------+-------------------+
 124      -       |Interface Stability | Committed         |
 125      -       +--------------------+-------------------+
 126      -       |Standard            | See standards(5). |
 127      -       +--------------------+-------------------+
 128      -
 129      -   ksh93
 130      -
 131      -
 132      -
 133      -       +--------------------+-----------------+
 134      -       |  ATTRIBUTE TYPE    | ATTRIBUTE VALUE |
 135      -       +--------------------+-----------------+
 136      -       |Interface Stability | See below.      |
 137      -       +--------------------+-----------------+
 138      -
 139      -
 140      -       The ksh93 built-in binding to /bin and /usr/bin is Volatile.  The
 141      -       built-in interfaces are Uncommitted.
 142      -
 143   54  SEE ALSO
 144      -       cat(1), ksh93(1), attributes(5), environ(5), largefile(5), standards(5)
       55 +     cat(1), ksh93(1), attributes(5), environ(5), largefile(5), standards(5)
 145   56  
 146      -
 147      -
 148      -                               November 20, 2007                        TEE(1)
       57 +illumos                        February 9, 2021                        illumos
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX