Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0128/2

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Small htmlroff fixes.
 [rsc] --rw-rw-r-- M 1428987 rsc sys 1831 Jan 27 16:07 sys/man/1/htmlroff
 [rsc] --rw-rw-r-- M 1428987 rsc sys 6608 Jan 28 09:30 sys/man/6/htmlroff
 [rsc] --rw-rw-r-- M 1428987 rsc sys 1711 Jan 28 09:22 sys/man/6/mhtml
 [rsc] --rw-rw-r-- M 1428987 rsc sys 6608 Jan 28 09:30 sys/man/6/htmlroff
	/n/sourcesdump/2006/0128/plan9/sys/man/6/htmlroff:305,317 - 
	/n/sourcesdump/2006/0129/plan9/sys/man/6/htmlroff:305,317
	  The redirection stops on encountering the line
	  .IR stop ,
	  optionally followed by white space and extra text.
	- This is a dangerous and clusmy request, as 
	+ This is a dangerous and clumsy request, as 
	  .I htmlroff
	  stops interpreting its input during the redirection, so
	  .I stop
	  must be found in the input itself, not in a macro that
	  the input might appear to call.
	- Although clusmy,
	+ Although clumsy,
	  .B .inputpipe
	  allows input files to invoke
	  .I troff
 [rsc] --rw-rw-r-- M 1428987 rsc sys 1711 Jan 28 09:22 sys/man/6/mhtml
	/n/sourcesdump/2006/0128/plan9/sys/man/6/mhtml:48,54 - 
	/n/sourcesdump/2006/0129/plan9/sys/man/6/mhtml:48,54
	  tag, opens and closes the
	  .B <head>
	  section, and opens
	- .B <body> .
	+ .BR <body> .
	  It invokes the
	  .B .HEAD
	  macro inside the
 [rsc] --rw-rw-r-- M 1428987 rsc sys 1625 Jan 28 09:33 sys/src/cmd/htmlroff/util.c
	/n/sourcesdump/2006/0128/plan9/sys/src/cmd/htmlroff/util.c:78,84 - 
	/n/sourcesdump/2006/0129/plan9/sys/src/cmd/htmlroff/util.c:78,84
	  {
	  	va_list arg;
	  	
	- 	fprint(2, "%L: ");
	+ 	fprint(2, "htmlroff: %L: ");
	  	va_start(arg, fmt);
	  	vfprint(2, fmt, arg);
	  	va_end(arg);


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.