From d4dc0165bd93bc5ed9558f1e99bf1443e42742e1 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Sat, 4 Mar 2000 22:19:32 +0000 Subject: [PATCH] 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. --- src/lib/libc/stdlib/getopt.3 | 4 ++-- src/lib/libc/stdlib/strtod.3 | 4 ++-- src/lib/libc/stdlib/strtol.3 | 4 ++-- src/lib/libc/stdlib/strtoul.3 | 4 ++-- src/lib/libc/string/strsep.3 | 4 ++-- src/lib/libutil/scsi.3 | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index c83cede8..637a81f1 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" 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 .Dt GETOPT 3 @@ -74,7 +74,7 @@ recognizes an option and argument .Dq Fl x Ar argument . It does not matter to .Fn getopt -if a following argument has leading white space. +if a following argument has leading whitespace. .Pp On return from .Fn getopt , diff --git a/src/lib/libc/stdlib/strtod.3 b/src/lib/libc/stdlib/strtod.3 index ef618039..143fea34 100644 --- a/src/lib/libc/stdlib/strtod.3 +++ b/src/lib/libc/stdlib/strtod.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" 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 .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 or minus sign, followed by a sequence of digits. .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 function) are skipped. .Sh RETURN VALUES diff --git a/src/lib/libc/stdlib/strtol.3 b/src/lib/libc/stdlib/strtol.3 index 3e0d5e67..df696b7b 100644 --- a/src/lib/libc/stdlib/strtol.3 +++ b/src/lib/libc/stdlib/strtol.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" 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 .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 or the special value 0. .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 .Xr isspace 3 ) followed by a single optional diff --git a/src/lib/libc/stdlib/strtoul.3 b/src/lib/libc/stdlib/strtoul.3 index 80eb0378..572658bf 100644 --- a/src/lib/libc/stdlib/strtoul.3 +++ b/src/lib/libc/stdlib/strtoul.3 @@ -33,7 +33,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" 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 .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 or the special value 0. .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 .Xr isspace 3 ) followed by a single optional diff --git a/src/lib/libc/string/strsep.3 b/src/lib/libc/string/strsep.3 index 5d0f4072..9f44a22d 100644 --- a/src/lib/libc/string/strsep.3 +++ b/src/lib/libc/string/strsep.3 @@ -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 .\" The Regents of the University of California. All rights reserved. @@ -85,7 +85,7 @@ returns .Sh EXAMPLES The following uses .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: .Bd -literal -offset indent char **ap, *argv[10], *inputstring; diff --git a/src/lib/libutil/scsi.3 b/src/lib/libutil/scsi.3 index 3d1b9274..8fe44049 100644 --- a/src/lib/libutil/scsi.3 +++ b/src/lib/libutil/scsi.3 @@ -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) .\" 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 argument list. Multi byte fields are swapped into the SCSI byte order in the -CDB and white space is ignored. +CDB and whitespace is ignored. .Pp When the field is a hex value or the letter v, (e.g., .Fr "1A"