[m-dev.] diff: fix w3 bug reported by dougl

Peter Ross petdr at cs.mu.OZ.AU
Wed Dec 8 11:17:28 AEDT 1999


On 08-Dec-1999, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> 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.
> 
Done.
--------------------------------------------------------------------------
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