Novell GroupWise Signature
After using 3rd party tools to improve reply and signature handling in Novell Groupwise, I recently gave vanilla GW702 a try. The signature had a horrible empty line in it and here is how to remove it.
After activating the signature It looked like this
-- http://thomas.lotterer.net
The empty line right after the leading “dash dash space newline” sequence was absolutely unacceptable. The bad news is this is hard wired into the groupwise.exe code. So the solution is to modify the executable. Here is a Perl one-liner who does the job:
perl <ORIGINAL-grpwise.exe \
-e '$$a.=$$_ while(<>); $$a=~s/-- \r/-- \0/s; print $$a' \
>SIGPATCH-grpwise.exe
If you run a hexdump -C against both files and you’ll find the difference
--- ORIGINAL-grpwise.exe.hexdump +++ SIGPATCH-grpwise.exe.hexdump @@ -284276 +284276 @@ -00465290 00 00 00 00 5b 58 5d 20 00 00 00 00 2d 2d 20 0d |....[X] ....-- .| +00465290 00 00 00 00 5b 58 5d 20 00 00 00 00 2d 2d 20 00 |....[X] ....-- .|
That’s it
-- http://thomas.lotterer.net