[Libreoffice] [SCRIPT, EASYHACK] "add-modelines", a script to add modelines to source files
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.
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.
More information about the LibreOffice