Re: echo to stderr

From: Holger.VanKoll@SWISSCOM.COM
Date: Wed Aug 20 2003 - 09:06:34 EDT


ok, lets split hairs:

0.02 could be nearly 5 times as much as 0.01 ---> 0,024 vs. 0,005

-----Original Message-----
From: Bill Verzal [mailto:BVerzal@KOMATSUNA.COM]
Sent: Wednesday, August 20, 2003 3:00 PM
To: aix-l@Princeton.EDU
Subject: Re: echo to stderr

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.
------------------------------------------------------------------------
----------------



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:09 EDT