Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1210/1

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


Manual and usage updates.
 [rsc] --rw-rw-r-- M 23513 glenda sys 9730 Dec 10 11:44 sys/man/1/acid
	/n/sourcesdump/2005/1210/plan9/sys/man/1/acid:4,13 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/acid:4,13
	  .SH SYNOPSIS
	  .B acid
	  [
	- .BI -l " libfile
	+ .B -kqw
	  ]
	  [
	- .B -wq
	+ .BI -l " library
	  ] [
	  .B -m
	  .I machine
	/n/sourcesdump/2005/1210/plan9/sys/man/1/acid:89,95 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/acid:89,95
	  Definitions in any file may override previously defined functions.
	  If the function
	  .IR acidinit ()
	- is defined, it will be invoked after all modules have been loaded.
	+ is defined, it will be invoked after all libraries have been loaded.
	  See
	  .IR 2c (1)
	  for information about creating
 [rsc] --rw-rw-r-- M 23513 glenda sys 18105 Dec 10 11:44 sys/man/1/acme
	/n/sourcesdump/2005/1210/plan9/sys/man/1/acme:7,12 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/acme:7,16
	  .B -ab
	  ]
	  [
	+ .B -c
	+ .I ncol
	+ ]
	+ [
	  .B -f
	  .I varfont
	  ]
	/n/sourcesdump/2005/1210/plan9/sys/man/1/acme:15,26 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/acme:19,26
	  .I fixfont
	  ]
	  [
	- .B -c
	- .I ncol
	- ]
	- [
	  .B -l
	- .I file
	+ .I loadfile
	  |
	  .I file
	  \&... ]
	/n/sourcesdump/2005/1210/plan9/sys/man/1/acme:54,60 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/acme:54,60
	  .B -l
	  option, the state of the entire system is loaded
	  from
	- .IR file ,
	+ .IR loadfile ,
	  which should have been created by a
	  .B Dump
	  command (q.v.),
 [rsc] --rw-rw-r-- M 23513 glenda sys 2737 Dec 10 11:44 sys/man/1/ascii
	/n/sourcesdump/2005/1210/plan9/sys/man/1/ascii:4,16 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/ascii:4,16
	  .SH SYNOPSIS
	  .B ascii
	  [
	- .B -8
	+ .B -8cnt
	  ]
	  [
	- .BI -oxdb n
	- ]
	- [
	- .B -nct
	+ .B -dox
	+ |
	+ .B -b
	+ .I n
	  ]
	  [
	  .I text
 [rsc] --rw-rw-r-- M 23513 glenda sys 10881 Dec 10 11:44 sys/man/1/awk
	/n/sourcesdump/2005/1210/plan9/sys/man/1/awk:4,26 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/awk:4,35
	  .SH SYNOPSIS
	  .B awk
	  [
	- .BI -F fs
	+ .B -F
	+ .I fs
	  ]
	  [
	- .BI -v
	- .I var=value
	+ .B -d
	  ]
	  [
	- .BI -mr n
	+ .BI -mf
	+ .I n
	  ]
	  [
	- .BI -mf n
	+ .B -mr
	+ .I n
	  ]
	  [
	+ .B -safe
	+ ]
	+ [
	+ .B -v
	+ .I var=value
	+ ]
	+ [
	  .B -f
	+ .I progfile
	+ |
	  .I prog
	- [
	- .I prog
	  ]
	  [
	  .I file ...
	/n/sourcesdump/2005/1210/plan9/sys/man/1/awk:30,40 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/awk:39,49
	  scans each input
	  .I file
	  for lines that match any of a set of patterns specified literally in
	- .IR prog
	+ .I prog
	  or in one or more files
	  specified as
	  .B -f
	- .IR file .
	+ .IR progfile .
	  With each pattern
	  there can be an associated action that will be performed
	  when a line of a
	/n/sourcesdump/2005/1210/plan9/sys/man/1/awk:56,68 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/awk:65,76
	  .B -v
	  followed by
	  .I var=value
	- is an assignment to be done before
	- .I prog
	+ is an assignment to be done before the program
	  is executed;
	  any number of
	  .B -v
	  options may be present.
	- .B \-F
	+ .B -F
	  .IR fs
	  option defines the input field separator to be the regular expression
	  .IR fs .
	/n/sourcesdump/2005/1210/plan9/sys/man/1/awk:82,92 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/awk:90,113
	  .PP
	  To compensate for inadequate implementation of storage management,
	  the 
	- .B \-mr
	+ .B -mr
	  option can be used to set the maximum size of the input record,
	  and the
	- .B \-mf
	+ .B -mf
	  option to set the maximum number of fields.
	+ .PP
	+ The
	+ .B -safe
	+ option causes
	+ .I awk
	+ to run in 
	+ ``safe mode,''
	+ in which it is not allowed to 
	+ run shell commands or open files
	+ and the environment is not made available
	+ in the 
	+ .B ENVIRON
	+ variable.
	  .PP
	  A pattern-action statement has the form
	  .IP
 [rsc] --rw-rw-r-- M 23513 glenda sys 3784 Dec 10 11:44 sys/man/1/bc
	/n/sourcesdump/2005/1210/plan9/sys/man/1/bc:4,18 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/bc:4,12
	  .SH SYNOPSIS
	  .B bc
	  [
	- .B -c
	+ .B -cdls
	  ]
	  [
	- .B -l
	- ]
	- [
	- .B -s
	- ]
	- [
	  .I file ...
	  ]
	  .SH DESCRIPTION
	/n/sourcesdump/2005/1210/plan9/sys/man/1/bc:22,34 - 
	/n/sourcesdump/2005/1211/plan9/sys/man/1/bc:16,32
	  to 100 digits right of the decimal point.
	  It takes input from any files given, then reads
	  the standard input.
	+ .PP
	  The
	+ .B -d
	+ option enables debugging output.
	+ The
	  .B -l
	- argument stands for the name
	+ option stands for the name
	  of an arbitrary precision math library.
	  The
	  .B -s
	- argument suppresses the automatic display
	+ option suppresses the automatic display
	  of calculation results; all output is via the
	  .B print
	  command.
 [rsc] --rw-rw-r-- M 23513 glenda sys 8561 Dec 10 11:44 sys/src/cmd/acid/main.c
	/n/sourcesdump/2005/1210/plan9/sys/src/cmd/acid/main.c:22,28 - 
	/n/sourcesdump/2005/1211/plan9/sys/src/cmd/acid/main.c:22,28
	  void
	  usage(void)
	  {
	- 	fprint(2, "usage: acid [-l module] [-m machine] [-qrw] [-k] [pid] [file]\n");
	+ 	fprint(2, "usage: acid [-kqw] [-l library] [-m machine] [pid] [file]\n");
	  	exits("usage");
	  }
	  


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.