* Erik Christiansen <dva...@internode.on.net> [12-05-12 02:44]: > > If anyone has a working solution, I'd be interested too. The following > had to be commented out, because folded URLs and code patches weren't > much use: > > # This DOES WRECK URLs! > # This can wreck code patches: > # :0Bbfw # Fold long lines (>80 col.) at a space: > # * > ........................................................................... > # | fold -s > # > # :0aBfw # if message was reformatted and it had a "Lines:" header > # * H ?? ^Lines: > # * 1^1 ^.*$ > # * -1^0 > # | formail -i "Lines: $=" > > Perhaps interpose a bit of awk to fold only if it's not a URL? At least > that fixes one case. (And I don't receive many patches these days.)
This is nice but doesn't preserve quote indicators when wrapping :^( tks, -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://linuxcounter.net