On Sunday 31 August 2003 21:27, Spider wrote:
> Actually, May I suggest a look at AWK , very often used
> together with bash when bash raises its head to show bald spots?

I checked out AWK and tried using it to insert spaces at the start of 
multiline headers. I got half-way but ran into trouble.

I'm trying to go with perl now as it is much faster and seemingly more 
capable. I've ran into a problem that I can't figure out, though. The 
behaviour of the following seems very strange:

my $pid = open2(*Reader, *Writer, 'formail -x From:');
# dies with "Broken Pipe"
my $pid = open2(*Reader, *Writer, 'formail -I ""');
# never returns
my $pid = open2(*Reader, *Writer, 'cat');
# never returns

Have I, a perl newbie, done something really newbtabulous? Or perhaps there's 
something wrong with my installation of Perl. The above are pretty much the 
same as the IPC man page's Bidirectional Communication section. Should I try 
the open_proc it talks about instead? Is open_proc somewhere in portage?

Regards,
Jason

--
[EMAIL PROTECTED] mailing list

Reply via email to