Mailinglist Archive: opensuse-translation (179 mails)

< Previous Next >
Re: [opensuse-translation] Need to clean some comment lines
On 11/03/2011 06:22 PM, Carlos E. R. wrote:
On Wednesday, 2011-11-02 at 09:56 +0100, Karl Eichwalder wrote:
sed -i.old '/^#.*/d' file.po

But that one would not remove any comment? #.* I understand is #
followed by any char. I need just "#|".

I think you should use

sed -i.old '/^#|.*/d' file.po

In this case the dot stands for every character, not a real dot.

Best,
Andrea
--
To unsubscribe, e-mail: opensuse-translation+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-translation+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups