On Thu, 15 Jan 2004 06:43:33 -0800, raptor muttered:
> say  I run command like this :
> 
> screen -d command
(which is not a legal invocation of screen, but...)

> I want to intercept the output and pass it to script written by me..
> which will process the output...

Wait... do you mean the output of command or the output of "screen -d
command"?

If you want to run piped commands in a screen, you'd want something like 

        screen sh -c "command1|command2"

If you want to change the output of a program *while it's running*, you're
out of luck. Sorry.

-- 
Andrew Farmer
[EMAIL PROTECTED]

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to