common/bin/logger.sh
changeset 27595 cff167b3bfa2
parent 14111 2a82ecb35fc7
child 32345 ed4ddf0bdb63
equal deleted inserted replaced
27594:e425f93c3dda 27595:cff167b3bfa2
    20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21 # or visit www.oracle.com if you need additional information or have any
    21 # or visit www.oracle.com if you need additional information or have any
    22 # questions.
    22 # questions.
    23 #
    23 #
    24 
    24 
    25 # Usage: ./logger.sh theloggfile acommand arg1 arg2 
    25 # Usage: ./logger.sh theloggfile acommand arg1 arg2
    26 #
    26 #
    27 # Execute acommand with args, in such a way that
    27 # Execute acommand with args, in such a way that
    28 # both stdout and stderr from acommand are appended to 
    28 # both stdout and stderr from acommand are appended to
    29 # theloggfile.
    29 # theloggfile.
    30 #
    30 #
    31 # Preserve stdout and stderr, so that the stdout
    31 # Preserve stdout and stderr, so that the stdout
    32 # from logger.sh is the same from acommand and equally
    32 # from logger.sh is the same from acommand and equally
    33 # for stderr.
    33 # for stderr.