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

Sebastian Spaeth Sebastian at SSpaeth.de
Tue Oct 12 03:37:10 PDT 2010


On 2010-10-11, someone at boldandbusted.com wrote:
> However, the script as I last sent it (version 0.7) works to cover the
> original EasyHack spec.

I ran v07 on the various git repos and attached the resulting git
patches at https://bugs.freedesktop.org/show_bug.cgi?id=30794

Please someone (I assigned to Kendy as per IRC discussion, so that would
be him :-)) apply these patches.

The script is fine, but my /bin/sh did not like "set -o posix" so I made
it run as /bin/bash. Also the -z option would not add new modelines but
really only overwrite existing ones spewing out lots of "mv... file not
found" errors which puzzled me a lot.

Otherwise it's an excellent piece of work :-). Please apply before the
patches get old :).

Sebastian


More information about the LibreOffice mailing list