Your question is ambiguous. Do you want to eliminate only terminal NLs
or all embedded NLs?
If it is the former, try adding the following as a final condition in
the matching recipe. It trims trailing NLs and whitespace from a
possibly-multiline MATCH. ([^ ] is [not space tab].)
* MATCH ?? ^^\/.+($.*[^ ])*
If you meant the latter, you will probably need you favorite of
(perl|awk|sed|sh|tr|...).
I seem to be getting an linefeed stuck from time to time in
$MATCH.
What is the best method to eliminate embedded linefeeds? I
already have $NL.
--
Rik Kabel Old enough to be an adult
rik(_at_)netcom(_dot_)com