print filterText("Here's some text!");
A search and replace and you are away. Any other solution seems likely to be more complex. You could for instance redirect STDOUT to a file and fork a second process to filter then print data as it arrives in this file. Seems overly complex though.
tachyon
In reply to Re: Tacking a function on to STDOUT?
by tachyon
in thread Tacking a function on to STDOUT?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |