[m-dev.] diff: fix w3 bug reported by dougl
Fergus Henderson
fjh at cs.mu.OZ.AU
Wed Dec 8 00:48:59 AEDT 1999
On 07-Dec-1999, Peter Ross <petdr at cs.mu.OZ.AU> wrote:
> w3/mailing-lists/Makefile:
> Fix the bug reported by dougl that mercury-developers wasn't
> displaying correctly.
...
> msglist_header.inc msglist_footer.inc: message_list.html
> echo "May need to rearchive the hypermail archive"
> - $(ROOT)/bin/divide "--- Cut here ---" msglist_header.inc \
> - msglist_footer.inc < message_list.html
> + cat message_list.html | sed -e 's/\%\"/\%\%\"/g' | \
> + sed -e 's/\.\./\.\.\/\.\.\/\.\./g' | \
> + $(ROOT)/bin/divide "--- Cut here ---" \
> + msglist_header.inc msglist_footer.inc
>
> msg_header.inc msg_footer.inc: message.html
> echo "May need to rearchive the hypermail archive"
> - $(ROOT)/bin/divide "--- Cut here ---" msg_header.inc \
> - msg_footer.inc < message.html
> + cat message_list.html | sed -e 's/\%\"/\%\%\"/g' | \
> + sed -e 's/\.\./\.\.\/\.\.\/\.\./g' | \
> + $(ROOT)/bin/divide "--- Cut here ---" msg_header.inc \
> + msg_footer.inc
I think it would be a good idea to add a comment to this code
explaining the purpose of the `sed' commands.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list