Re: echo to stderr

From: Bill Verzal (BVerzal_at_KOMATSUNA.COM)
Date: 08/20/03

  • Next message: Bill Verzal: "Re: echo to stderr"
    Date:         Wed, 20 Aug 2003 08:00:13 -0500
    To: aix-l@Princeton.EDU
    
    

    I tried that but it used 2x the CPU time of my C program.

    Granted .01 seconds versus .02 seconds is splitting hairs, but it was 2x as
    slow :)

    BV
    --------------------------------------------------------

    Bill Verzal
    AIX Administrator, Komatsu America
    (847) 970-3726 - direct
    (847) 970-4184 - fax

    |---------+---------------------------->
    | | Jim McDonald |
    | | <jmcdon23@CSC.COM|
    | | .AU> |
    | | Sent by: IBM AIX |
    | | Discussion List |
    | | <aix-l@Princeton.|
    | | EDU> |
    | | |
    | | |
    | | 08/19/2003 04:56 |
    | | PM |
    | | Please respond to|
    | | IBM AIX |
    | | Discussion List |
    | | |
    |---------+---------------------------->
    >-------------------------------------------------------------------------------------------------------------------------------|
      | |
      | To: aix-l@Princeton.EDU |
      | cc: |
      | Subject: Re: echo to stderr |
    >-------------------------------------------------------------------------------------------------------------------------------|

    Hi

    #!/usr/bin/perl
    my $input = <STDIN> ;
    print STDERR "$input" ;

    Regards
    Jim McDonald

    ----------------------------------------------------------------------------------------

    This is a PRIVATE message. If you are not the intended recipient, please
    delete without copying and kindly advise us by e-mail of the mistake in
    delivery. NOTE: Regardless of content, this e-mail shall not operate to
    bind CSC to any order or other contract unless pursuant to explicit written
    agreement or government initiative expressly permitting the use of e-mail
    for such purpose.
    ----------------------------------------------------------------------------------------


  • Next message: Bill Verzal: "Re: echo to stderr"

    Relevant Pages