Thank you for your attention, Bob.

> What is your actual regex? At a minimum, you'll need /g modifier. You may
> need /m and/or /s as well.

May be I didn't explained my prob exactly.
I don't have a problem with the regex (and yes, I have the /m /g and /s).
Related to the regex, my script works fine - and I get the result I want.
I already print the $1 to STDOUT, where it get's redirected to sort and then 
to a file.

My idea was to duplicate the $1 value to another file (write one value to 
STDOUT and to a file) and I could not solve it.

It has nothing to do with the $1, as I tried to write a fixed text and the 
file didn't gets created.

Any idea?

Kind regards

Reinhard


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to