-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2011-11-02 at 09:56 +0100, Karl Eichwalder wrote:
You are probably looking for
sed -i.old '/^#.*/d' file.po
It replaces in place and saves the old file as file.po.old (just in case something goes wrong).
Nice! But that one would not remove any comment? #.* I understand is # followed by any char. I need just "#|". - -- Cheers, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk6yzc0ACgkQtTMYHG2NR9UikACgjA8diId1dkva9N+k8RuCgTa+ /YoAnRmA4My5yd61X3t4PesK7yeBVYOL =17YR -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-translation+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-translation+owner@opensuse.org