[Libreoffice] [SCRIPT, EASYHACK] "add-modelines", a script to add modelines to source files

Caolán McNamara caolanm at redhat.com
Sat Oct 9 12:24:57 PDT 2010


On Sat, 2010-10-09 at 11:41 -0700, someone at boldandbusted.com wrote:
> Howdy, all. It took some effort for this SysAdmin to craft a shell
> script to meet this "EasyHack",

The principal looks good. Here's a edge-case test file though, e.g.

writer/sw/source/filter/ww8/ww8atr.cxx

it already has a "/* vi:"... modeline at the bottom, so maybe best thing
is to detect and remove conflicting modelines. Though there's so few of
them, they could be handled manually, so its no biggy.

C.



More information about the LibreOffice mailing list