Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1214/2

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


Man page/usage fixes.
 [rsc] --rw-rw-r-- M 257414 glenda sys 1358 Dec 14 05:42 sys/man/1/du
	/n/sourcesdump/2005/1214/plan9/sys/man/1/du:4,31 - 
	/n/sourcesdump/2005/1215/plan9/sys/man/1/du:4,14
	  .SH SYNOPSIS
	  .B du
	  [
	- .B -a
	+ .B -afnqstu
	  ]
	  [
	- .B -f
	- ]
	- [
	- .B -n
	- ]
	- [
	- .B -q
	- ]
	- [
	- .B -s
	- ]
	- [
	- .B -t
	- ]
	- [
	- .B -u
	- ]
	- [
	- .BI -b size
	+ .B -b
	+ .I size
	  ]
	  [
	  .I file ...
 [rsc] --rw-rw-r-- M 257414 glenda sys 5655 Dec 14 15:36 sys/man/1/eqn
 [rsc] --rw-rw-r-- M 257414 glenda sys 2630 Dec 14 05:52 sys/man/1/crop
	/n/sourcesdump/2005/1214/plan9/sys/man/1/crop:4,9 - 
	/n/sourcesdump/2005/1215/plan9/sys/man/1/crop:4,15
	  .SH SYNOPSIS
	  .B crop
	  [
	+ .B -b
	+ .I red
	+ .I green
	+ .I blue
	+ ]
	+ [
	  .BI -c
	  .I red
	  .I green
	/n/sourcesdump/2005/1214/plan9/sys/man/1/crop:13,29 - 
	/n/sourcesdump/2005/1215/plan9/sys/man/1/crop:19,35
	  .B -i
	  .I n
	  |
	- .B -x
	- .I dx
	- |
	- .B -y
	- .I dy
	- |
	  .B -r
	  .I minx
	  .I miny
	  .I maxx
	  .I maxy
	+ |
	+ .B -x
	+ .I dx
	+ |
	+ .B -y
	+ .I dy
	  ]
	  [
	  .B -t
 [rsc] --rw-rw-r-- M 257414 glenda sys 3085 Dec 14 05:36 sys/man/1/diff
	/n/sourcesdump/2005/1214/plan9/sys/man/1/diff:4,10 - 
	/n/sourcesdump/2005/1215/plan9/sys/man/1/diff:4,10
	  .SH SYNOPSIS
	  .B diff
	  [
	- .B -acefmnbwr
	+ .B -abcefmnrw
	  ] file1 ... file2
	  .SH DESCRIPTION
	  .I Diff
 [rsc] --rw-rw-r-- M 257414 glenda sys 2104 Dec 14 05:39 sys/man/1/doc2txt
	/n/sourcesdump/2005/1214/plan9/sys/man/1/doc2txt:24,36 - 
	/n/sourcesdump/2005/1215/plan9/sys/man/1/doc2txt:24,33
	  .br
	  .B aux/msexceltable
	  [
	- .B -n
	+ .B -aDnt
	  ] [
	- .B -t
	- ] [
	- .B -a
	- ] [
	- .BI -d delim
	+ .B -d
	+ .I delim
	  ]
	  .I /mnt/doc/Workbook
	  .SH DESCRIPTION
	/n/sourcesdump/2005/1214/plan9/sys/man/1/doc2txt:59,75 - 
	/n/sourcesdump/2005/1215/plan9/sys/man/1/doc2txt:56,77
	  .I Msexceltables
	  may be given options to control the formatting of its output.
	  .TP
	- -n
	+ .B -n
	  Disables field padding to colum width.
	  .TP
	- -t
	+ .B -t
	  Truncate fields to the colum width.
	  .TP
	- -a
	+ .B -a
	  Attempt conversion of non-tabular sheets in the workbook. (charts).
	  .TP
	- -d \fIdelim\fR
	- Sets the interfield delimiter to the string \fIdelim\fR, by default a single space.
	+ .BI -d " delim
	+ Sets the interfield delimiter to the string
	+ .IR delim ,
	+ by default a single space.
	+ .TP
	+ .B -D
	+ Enables debugging output.
	  .SH SOURCE
	  .B /sys/src/cmd/aux/mswordstrings.c
	  .br
	/n/sourcesdump/2005/1214/plan9/sys/man/1/doc2txt:95,98 - 
	/n/sourcesdump/2005/1215/plan9/sys/man/1/doc2txt:97,100
	  .I http://snake.cs.tu-berlin.de:8081/~schwartz/pmh 
	  .br
	  ``OpenOffice.Org's Excel Documentation'',
	- .I http:\/\/sc.openoffice.org/excelfileformat.pdf
	+ .I http://sc.openoffice.org/excelfileformat.pdf
 [rsc] --rw-rw-r-- M 257414 presotto sys 3014 Dec 14 05:48 sys/man/1/expect
	/n/sourcesdump/2005/1214/plan9/sys/man/1/expect:13,24 - 
	/n/sourcesdump/2005/1215/plan9/sys/man/1/expect:13,22
	  .br
	  .B dial/expect
	  [
	- .B -q
	+ .B -iq
	  ] [
	  .B -t
	  .I seconds
	- ] [
	- .B -i
	  ]
	  .I goodstring
	  [
 [rsc] --rw-rw-r-- M 257414 jmk sys 13913 Dec 14 05:37 sys/src/cmd/aux/msexceltables.c
	/n/sourcesdump/2005/1214/plan9/sys/src/cmd/aux/msexceltables.c:703,709 - 
	/n/sourcesdump/2005/1215/plan9/sys/src/cmd/aux/msexceltables.c:703,709
	  void
	  usage(void)
	  {
	- 	fprint(2, "usage: %s [-nta] [-d delim] file.xls\n", argv0);
	+ 	fprint(2, "usage: %s [-aDnt] [-d delim] file.xls\n", argv0);
	  	exits("usage");
	  }
	  
 [rsc] --rw-rw-r-- M 257414 presotto sys 1595 Dec 14 05:48 sys/src/cmd/dial/expect.c
	/n/sourcesdump/2005/1214/plan9/sys/src/cmd/dial/expect.c:4,10 - 
	/n/sourcesdump/2005/1215/plan9/sys/src/cmd/dial/expect.c:4,10
	  void
	  usage(void)
	  {
	- 	fprint(2, "usage: %s [-t secs] [-iq] good-string [bad-strings]\n", argv0);
	+ 	fprint(2, "usage: %s [-q] [-t secs] goodstring [badstring ...]\n", argv0);
	  	exits("usage");
	  }
	  
 [rsc] --rw-rw-r-- M 257414 glenda sys 3420 Dec 14 05:42 sys/src/cmd/du.c
	/n/sourcesdump/2005/1214/plan9/sys/src/cmd/du.c:19,24 - 
	/n/sourcesdump/2005/1215/plan9/sys/src/cmd/du.c:19,31
	  vlong	blocksize = 1024LL;
	  
	  void
	+ usage(void)
	+ {
	+ 	fprint(2, "usage: du [-afnqstu] [-b size] [file...]\n");
	+ 	exits("usage");
	+ }
	+ 
	+ void
	  main(int argc, char *argv[])
	  {
	  	int i;
	/n/sourcesdump/2005/1214/plan9/sys/src/cmd/du.c:61,66 - 
	/n/sourcesdump/2005/1215/plan9/sys/src/cmd/du.c:68,75
	  				blocksize *= 1024;
	  		}
	  		break;
	+ 	default:
	+ 		usage();
	  	} ARGEND
	  	if(argc==0)
	  		print(fmt, du(".", dirstat(".")), ".");
 [rsc] --rw-rw-r-- M 257414 glenda sys 5655 Dec 14 15:36 sys/man/1/eqn


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].