core/builtins/tee.cif
changeset 0 7f656887cf89
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 # tee.cif
       
     2 # 
       
     3 # Copyright (c) 2010 Accenture. All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of the "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 # 
       
     9 # Initial Contributors:
       
    10 # Accenture - Initial contribution
       
    11 #
       
    12 
       
    13 ==name tee
       
    14 
       
    15 ==short-description
       
    16 
       
    17 Copies stdin to stdout and additionally to a file.
       
    18 
       
    19 ==long-description
       
    20 
       
    21 Copies standard input to standard output and also to any files given as arguments. This is useful when you want not only want to see a command's output on the console, but also to save a copy.
       
    22 
       
    23 ==argument filename file multiple optional
       
    24 
       
    25 The file to be written.
       
    26 
       
    27 ==option bool a append
       
    28 
       
    29 If specified, append to the file(s) if it already exists, rather than overwriting it. The default is to create the file if it doesn't already exist, and overwrite it if it does.
       
    30 
       
    31 ==option bool r rdebug
       
    32 
       
    33 If specified, send the output to RDebug::Print as well as to stdout and any specified files.
       
    34 
       
    35 ==copyright
       
    36 
       
    37 Copyright (c) 2006-2010 Accenture. All rights reserved.
       
    38