[Libreoffice] [PATCH] Remove bogus comments + bash line

Guillaume Poussel gpoussel at gmail.com
Mon Feb 7 11:31:41 PST 2011


Hi all,

Again, I send patches to remove bogus comments.

I have written a pretty (but not optimized) bash line to find them all:
git grep -nE " #[^i][0-9]+#" | ( while read f; do file=$(echo "$f" |
cut -d':' -f1) ; line=$(echo "$f" | cut -d':' -f2) ; emacs "+"$line
-fh "$file"; done )
It opens emacs with every occurences of #xxx#.

As soon as I have time, I will try to end up by finishing this "Easy Hack".

Regards,
Guillaume Poussel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Clean-up-bogus-comments-in-filter.patch
Type: application/octet-stream
Size: 32018 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110207/88784007/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Clean-up-bogus-comments-in-base.patch
Type: application/octet-stream
Size: 19943 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110207/88784007/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Clean-up-bogus-comments-in-calc.patch
Type: application/octet-stream
Size: 23433 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110207/88784007/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Clean-up-bogus-comments-in-writer.patch
Type: application/octet-stream
Size: 76724 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110207/88784007/attachment-0007.obj>


More information about the LibreOffice mailing list