<<< Date Index >>>     <<< Thread Index >>>

bug#1937: manpage for /usr/bin/mutt (/usr/share/man/man1/mutt.1.gz) contains unescaped hyphens



On Sun, Dec 19, 2004 at 01:45:59PM +0900, TAKAHASHI Tamotsu wrote:
> #!/bin/sh
> 
> cat <<EOF> fixhyphen.sed
> s/-/\\-/g
> # revert title strings
> s/\\\\-/-/g
> # revert comment strings
> /^\.\\\"/s/\\-/-/g
> EOF
> 
> for i in \
>   doc/dotlock.man \
>   doc/mbox.man \
>   doc/mutt.man \
>   doc/muttbug.man \
>   doc/muttrc.man.head \
>   doc/muttrc.man.tail
> do
>   sed -f fixhyphen.sed $i

sed -f fixhyphen.sed $i > $i.new
mv $i.new $i

> done

-- 
tamo