What about something like:
perl scriptname.pl >> /dev/devicetogoto 2>&1

Under other UNIX's I use something like this for my crontab entries except
that I send it to /dev/null.

John


-----Original Message-----
From: Burke, Thomas G. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 24, 2000 6:08 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Entering STDERR output to terminal


I've never tried it, but could you use gets(STDERR) in your program?

I'm assuming of course, that your program is written in C/C++...

> -----Original Message-----
> From: Clarence Donath [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, August 24, 2000 8:45 AM
> To:   [EMAIL PROTECTED]
> Subject:      Entering STDERR output to terminal
> 
> Does anyone know of a program, or a shell with a feature that will take
> whatever is printed to STDOUT or STDERR and enter the lines in the
> terminal?
> 
> I'm playing around with a file modification monitor in Perl, and when the
> program running in the background writes to my terminal, I want that
> message
> entered in the currently running program.
> 
> Any suggestions are greatly appreciated.
> 
> Clarence Donath
> http://mrdo.com
> 
> 
> 
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to