Re: echo to stderr

From: Bill Verzal (BVerzal@KOMATSUNA.COM)
Date: Wed Aug 20 2003 - 09:00:13 EDT


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