Browse Source

In Unix land we prefer "whitespace" to "white space" or "white-space". At

least, this is the impression I get from looking at a lot of Perl docs.
OPENBSD_2_7
aaron 25 years ago
parent
commit
d4dc0165bd
6 changed files with 12 additions and 12 deletions
  1. +2
    -2
      src/lib/libc/stdlib/getopt.3
  2. +2
    -2
      src/lib/libc/stdlib/strtod.3
  3. +2
    -2
      src/lib/libc/stdlib/strtol.3
  4. +2
    -2
      src/lib/libc/stdlib/strtoul.3
  5. +2
    -2
      src/lib/libc/string/strsep.3
  6. +2
    -2
      src/lib/libutil/scsi.3

+ 2
- 2
src/lib/libc/stdlib/getopt.3 View File

@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: getopt.3,v 1.11 2000/01/25 23:28:55 deraadt Exp $
.\" $OpenBSD: getopt.3,v 1.12 2000/03/04 22:19:31 aaron Exp $
.\" .\"
.Dd April 19, 1994 .Dd April 19, 1994
.Dt GETOPT 3 .Dt GETOPT 3
@ -74,7 +74,7 @@ recognizes an option and argument
.Dq Fl x Ar argument . .Dq Fl x Ar argument .
It does not matter to It does not matter to
.Fn getopt .Fn getopt
if a following argument has leading white space.
if a following argument has leading whitespace.
.Pp .Pp
On return from On return from
.Fn getopt , .Fn getopt ,


+ 2
- 2
src/lib/libc/stdlib/strtod.3 View File

@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: strtod.3,v 1.5 2000/01/22 12:05:49 aaron Exp $
.\" $OpenBSD: strtod.3,v 1.6 2000/03/04 22:19:31 aaron Exp $
.\" .\"
.Dd June 29, 1991 .Dd June 29, 1991
.Dt STRTOD 3 .Dt STRTOD 3
@ -63,7 +63,7 @@ a decimal-point character, optionally followed by an exponent.
An exponent consists of an ``E'' or ``e'', followed by an optional plus An exponent consists of an ``E'' or ``e'', followed by an optional plus
or minus sign, followed by a sequence of digits. or minus sign, followed by a sequence of digits.
.Pp .Pp
Leading white-space characters in the string (as defined by the
Leading whitespace characters in the string (as defined by the
.Xr isspace 3 .Xr isspace 3
function) are skipped. function) are skipped.
.Sh RETURN VALUES .Sh RETURN VALUES


+ 2
- 2
src/lib/libc/stdlib/strtol.3 View File

@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: strtol.3,v 1.6 1999/09/14 03:59:55 pjanzen Exp $
.\" $OpenBSD: strtol.3,v 1.7 2000/03/04 22:19:31 aaron Exp $
.\" .\"
.Dd June 25, 1992 .Dd June 25, 1992
.Dt STRTOL 3 .Dt STRTOL 3
@ -74,7 +74,7 @@ The conversion is done according to the given
which must be a number between 2 and 36 inclusive which must be a number between 2 and 36 inclusive
or the special value 0. or the special value 0.
.Pp .Pp
The string may begin with an arbitrary amount of white space
The string may begin with an arbitrary amount of whitespace
(as determined by (as determined by
.Xr isspace 3 ) .Xr isspace 3 )
followed by a single optional followed by a single optional


+ 2
- 2
src/lib/libc/stdlib/strtoul.3 View File

@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: strtoul.3,v 1.5 1999/09/14 03:59:55 pjanzen Exp $
.\" $OpenBSD: strtoul.3,v 1.6 2000/03/04 22:19:31 aaron Exp $
.\" .\"
.Dd June 25, 1992 .Dd June 25, 1992
.Dt STRTOUL 3 .Dt STRTOUL 3
@ -74,7 +74,7 @@ The conversion is done according to the given
which must be a number between 2 and 36 inclusive which must be a number between 2 and 36 inclusive
or the special value 0. or the special value 0.
.Pp .Pp
The string may begin with an arbitrary amount of white space
The string may begin with an arbitrary amount of whitespace
(as determined by (as determined by
.Xr isspace 3 ) .Xr isspace 3 )
followed by a single optional followed by a single optional


+ 2
- 2
src/lib/libc/string/strsep.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: strsep.3,v 1.6 1999/07/04 15:59:50 aaron Exp $
.\" $OpenBSD: strsep.3,v 1.7 2000/03/04 22:19:32 aaron Exp $
.\" .\"
.\" Copyright (c) 1990, 1991, 1993 .\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -85,7 +85,7 @@ returns
.Sh EXAMPLES .Sh EXAMPLES
The following uses The following uses
.Fn strsep .Fn strsep
to parse a string, containing tokens delimited by white space, into an
to parse a string, containing tokens delimited by whitespace, into an
argument vector: argument vector:
.Bd -literal -offset indent .Bd -literal -offset indent
char **ap, *argv[10], *inputstring; char **ap, *argv[10], *inputstring;


+ 2
- 2
src/lib/libutil/scsi.3 View File

@ -1,4 +1,4 @@
.\" $OpenBSD: scsi.3,v 1.3 1999/05/16 19:56:05 alex Exp $
.\" $OpenBSD: scsi.3,v 1.4 2000/03/04 22:19:32 aaron Exp $
.\" Copyright (c) 1994 HD Associates (hd@world.std.com) .\" Copyright (c) 1994 HD Associates (hd@world.std.com)
.\" All rights reserved. .\" All rights reserved.
.\" .\"
@ -191,7 +191,7 @@ The second one bit field is the constant value 0 and the first
one bit field and the six bit field are taken from the variable one bit field and the six bit field are taken from the variable
argument list. argument list.
Multi byte fields are swapped into the SCSI byte order in the Multi byte fields are swapped into the SCSI byte order in the
CDB and white space is ignored.
CDB and whitespace is ignored.
.Pp .Pp
When the field is a hex value or the letter v, (e.g., When the field is a hex value or the letter v, (e.g.,
.Fr "1A" .Fr "1A"


Loading…
Cancel
Save