Am Mittwoch, den 19.09.2012, 19:28 +0200 schrieb Francesco Poli:
> Moving the comment removal statement up to the top of the block is
> crucial: it allows the removal of "[cC] " at the beginning of each line
> of text
> 
>   $content =~ s/^[cC] //gm;
> 
> *before* the following statement removes all tabs and all newline
> characters:
> 
>   $content =~ tr/\t\r\n/ /;

Thanks. Now it makes sense (to remove the Fortran comments _before_
removing the newline characters).

> > Having the comment on a separate line is fine. I have applied your
> > previous patch and added the test case. Thanks for your contribution.
> 
> That's really great news!   :-)
> Thanks to you for dealing with this bug so quickly and effectively.

You're welcome.

Side note: The work to add a test suite pays off.

-- 
Benjamin Drung
Debian & Ubuntu Developer

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to