diff options
| -rw-r--r-- | bin/csh/csh.1 | 24 | ||||
| -rw-r--r-- | bin/expr/expr.1 | 4 | ||||
| -rw-r--r-- | external/bsd/flex/bin/flex.1 | 6 | ||||
| -rw-r--r-- | lib/libc/string/strlcpy.3 | 6 | ||||
| -rw-r--r-- | sbin/disklabel/disklabel.5 | 4 | ||||
| -rw-r--r-- | share/man/man4/man4.sun2/leds.4 | 4 | ||||
| -rw-r--r-- | share/man/man4/man4.sun3/leds.4 | 4 | ||||
| -rw-r--r-- | share/man/man4/unix.4 | 4 | ||||
| -rw-r--r-- | usr.bin/head/head.1 | 4 | ||||
| -rw-r--r-- | usr.bin/mkstr/mkstr.1 | 4 | ||||
| -rw-r--r-- | usr.bin/tail/tail.1 | 4 |
11 files changed, 34 insertions, 34 deletions
diff --git a/bin/csh/csh.1 b/bin/csh/csh.1 index 55d80f454fc..0982fe225c8 100644 --- a/bin/csh/csh.1 +++ b/bin/csh/csh.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: csh.1,v 1.56 2022/07/09 21:19:44 uwe Exp $ +.\" $NetBSD: csh.1,v 1.57 2022/08/28 10:48:15 hgutch Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -476,7 +476,7 @@ nest.) This `!' may be preceded by a `\e' to prevent its special meaning; for convenience, an `!' is passed unchanged when it is followed by a blank, tab, newline, `=' or `('. -(History substitutions also occur when an input line begins with `\*(ua'. +(History substitutions also occur when an input line begins with `^'. This special abbreviation will be described later.) Any input line that contains history substitution is echoed on the terminal before it is executed as it would have been typed without history substitution. @@ -530,7 +530,7 @@ first (command) word .It Ar n .Ar n Ns 'th argument -.It \*(ua +.It ^ first argument, i.e., `1' .It $ last argument @@ -544,7 +544,7 @@ range of words abbreviates .Ar `\&0\-y\' .It * -abbreviates `\*(ua\-$', or nothing if only 1 word in event +abbreviates `^\-$', or nothing if only 1 word in event .It Ar x* abbreviates .Ar `x\-$\' @@ -555,7 +555,7 @@ but omitting word `$' .El .Pp The `:' separating the event specification from the word designator -can be omitted if the argument selector begins with a `\*(ua', `$', `*', +can be omitted if the argument selector begins with a `^', `$', `*', `\-' or `%'. After the optional word designator can be placed a sequence of modifiers, each preceded by a `:'. @@ -624,14 +624,14 @@ A history reference may be given without an event specification, e.g., `!$'. Here, the reference is to the previous command unless a previous history reference occurred on the same line in which case this form repeats the previous reference. -Thus `!?foo?\*(ua !$' gives the first and last arguments +Thus `!?foo?^ !$' gives the first and last arguments from the command matching `?foo?'. .Pp A special abbreviation of a history reference occurs when the first -non-blank character of an input line is a `\*(ua'. -This is equivalent to `!:s\*(ua' providing a convenient +non-blank character of an input line is a `^'. +This is equivalent to `!:s^' providing a convenient shorthand for substitutions on the text of the previous line. -Thus `\*(ualb\*(ualib' fixes the spelling of +Thus `^lb^lib' fixes the spelling of `lib' in the previous command. Finally, a history substitution may be surrounded with `{' and `}' @@ -669,7 +669,7 @@ left unchanged. .Pp Thus if the alias for `ls' is `ls \-l' the command `ls /usr' would map to `ls \-l /usr', the argument list here being undisturbed. -Similarly if the alias for `lookup' was `grep !\*(ua /etc/passwd' then +Similarly if the alias for `lookup' was `grep !^ /etc/passwd' then `lookup bill' would map to `grep bill /etc/passwd'. .Pp If an alias is found, the word transformation of the input text @@ -987,12 +987,12 @@ and commands. The following operators are available: .Bd -ragged -offset indent -\&|\&| && \&| \*(ua & == != =~ !~ \*[Le] \*[Ge] +\&|\&| && \&| ^ & == != =~ !~ <= >= < > << >> + \- * / % ! ~ ( ) .Ed .Pp Here the precedence increases to the right, -`==' `!=' `=~' and `!~', `\*[Le]' `\*[Ge]' `<' +`==' `!=' `=~' and `!~', `<=' `>=' `<' and `>', `<<' and `>>', `+' and `\-', `*' `/' and `%' being, in groups, at the same level. The `==' `!=' `=~' and `!~' operators compare their arguments as strings; diff --git a/bin/expr/expr.1 b/bin/expr/expr.1 index 74d0469d819..bbe0798c01f 100644 --- a/bin/expr/expr.1 +++ b/bin/expr/expr.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: expr.1,v 1.37 2017/07/03 21:33:23 wiz Exp $ +.\" $NetBSD: expr.1,v 1.38 2022/08/28 10:48:16 hgutch Exp $ .\" .\" Copyright (c) 2000,2003 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -62,7 +62,7 @@ Returns the evaluation of .Ar expr1 if neither expression evaluates to an empty string or zero; otherwise, returns zero. -.It Ar expr1 Li "{=, >, \*[Ge], <, \*[Le], !=}" Ar expr2 +.It Ar expr1 Li "{=, >, >=, <, <=, !=}" Ar expr2 Returns the results of integer comparison if both arguments are integers; otherwise, returns the results of string comparison using the locale-specific collation sequence. diff --git a/external/bsd/flex/bin/flex.1 b/external/bsd/flex/bin/flex.1 index 241fd55f9bc..7704d481af9 100644 --- a/external/bsd/flex/bin/flex.1 +++ b/external/bsd/flex/bin/flex.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: flex.1,v 1.4 2021/12/01 21:44:12 wiz Exp $ +.\" $NetBSD: flex.1,v 1.5 2022/08/28 10:48:16 hgutch Exp $ .\" .TH FLEX 1 "December 2021" "Version 2.5" .SH NAME @@ -939,7 +939,7 @@ to be rescanned enclosed in parentheses. /* Copy yytext because unput() trashes yytext */ char *yycopy = strdup( yytext ); unput( ')' ); - for ( i = yyleng - 1; i \*[Ge] 0; --i ) + for ( i = yyleng - 1; i >= 0; --i ) unput( yycopy[i] ); unput( '(' ); free( yycopy ); @@ -1769,7 +1769,7 @@ feature is discussed below): \*[Lt]incl\*[Gt][ \\t]* /* eat the whitespace */ \*[Lt]incl\*[Gt][^ \\t\\n]+ { /* got the include file name */ - if ( include_stack_ptr \*[Ge] MAX_INCLUDE_DEPTH ) + if ( include_stack_ptr >= MAX_INCLUDE_DEPTH ) { fprintf( stderr, "Includes nested too deeply" ); exit( 1 ); diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3 index c4794596e5e..d407d7f3d7a 100644 --- a/lib/libc/string/strlcpy.3 +++ b/lib/libc/string/strlcpy.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: strlcpy.3,v 1.13 2010/04/14 13:07:51 wiz Exp $ +.\" $NetBSD: strlcpy.3,v 1.14 2022/08/28 10:48:16 hgutch Exp $ .\" from OpenBSD: strlcpy.3,v 1.11 2000/11/16 23:27:41 angelos Exp .\" .\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com> @@ -160,9 +160,9 @@ char *dir, *file, pname[MAXPATHLEN]; \&... -if (strlcpy(pname, dir, sizeof(pname)) \*[Ge] sizeof(pname)) +if (strlcpy(pname, dir, sizeof(pname)) >= sizeof(pname)) goto toolong; -if (strlcat(pname, file, sizeof(pname)) \*[Ge] sizeof(pname)) +if (strlcat(pname, file, sizeof(pname)) >= sizeof(pname)) goto toolong; .Ed .Pp diff --git a/sbin/disklabel/disklabel.5 b/sbin/disklabel/disklabel.5 index eca2a25d3e4..f2165b53e8f 100644 --- a/sbin/disklabel/disklabel.5 +++ b/sbin/disklabel/disklabel.5 @@ -1,4 +1,4 @@ -.\" $NetBSD: disklabel.5,v 1.30 2017/07/03 21:33:41 wiz Exp $ +.\" $NetBSD: disklabel.5,v 1.31 2022/08/28 10:48:16 hgutch Exp $ .\" .\" Copyright (c) 1987, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -121,7 +121,7 @@ is /* * The absolute maximum number of disk partitions allowed. * This is the maximum value of MAXPARTITIONS for which 'struct disklabel' - * is \*[Le] DEV_BSIZE bytes long. If MAXPARTITIONS is greater than this, beware. + * is <= DEV_BSIZE bytes long. If MAXPARTITIONS is greater than this, beware. */ #define MAXMAXPARTITIONS 22 #if MAXPARTITIONS > MAXMAXPARTITIONS diff --git a/share/man/man4/man4.sun2/leds.4 b/share/man/man4/man4.sun2/leds.4 index f7edab465dd..2b34455c65e 100644 --- a/share/man/man4/man4.sun2/leds.4 +++ b/share/man/man4/man4.sun2/leds.4 @@ -1,4 +1,4 @@ -.\" $NetBSD: leds.4,v 1.10 2017/07/03 21:30:59 wiz Exp $ +.\" $NetBSD: leds.4,v 1.11 2022/08/28 10:48:16 hgutch Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -87,7 +87,7 @@ to display the repeating animation of a single lit LED scrolling from one end of the display to the other, using six clock ticks between each update. .Bd -ragged -offset indent # echo 5 8 254 253 251 247 239 223 191 127 | - awk '{ for (i=1;i\*[Le]NF;i++) printf("%c",$i+0); }' > /dev/leds + awk '{ for (i=1;i<=NF;i++) printf("%c",$i+0); }' > /dev/leds .Ed .Sh ERRORS An I/O transfer to diff --git a/share/man/man4/man4.sun3/leds.4 b/share/man/man4/man4.sun3/leds.4 index a1e7daa1ed3..8a642f83ffe 100644 --- a/share/man/man4/man4.sun3/leds.4 +++ b/share/man/man4/man4.sun3/leds.4 @@ -1,4 +1,4 @@ -.\" $NetBSD: leds.4,v 1.13 2017/07/03 21:30:59 wiz Exp $ +.\" $NetBSD: leds.4,v 1.14 2022/08/28 10:48:16 hgutch Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -89,7 +89,7 @@ to display the repeating animation of a single lit LED scrolling from one end of the display to the other, using six clock ticks between each update. .Bd -ragged -offset indent # echo 5 8 254 253 251 247 239 223 191 127 | - awk '{ for (i=1;i\*[Le]NF;i++) printf("%c",$i+0); }' > /dev/leds + awk '{ for (i=1;i<=NF;i++) printf("%c",$i+0); }' > /dev/leds .Ed .Sh ERRORS An I/O transfer to diff --git a/share/man/man4/unix.4 b/share/man/man4/unix.4 index 6d7c6409a37..cc8da089057 100644 --- a/share/man/man4/unix.4 +++ b/share/man/man4/unix.4 @@ -1,4 +1,4 @@ -.\" $NetBSD: unix.4,v 1.28 2022/06/28 20:12:52 rillig Exp $ +.\" $NetBSD: unix.4,v 1.29 2022/08/28 10:48:16 hgutch Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -250,7 +250,7 @@ int ret; memset(&addr, 0, sizeof(addr)); addr.sun_family = AF_LOCAL; -if (strlen(pathname) \*[Ge] sizeof(addr.sun_path)) +if (strlen(pathname) >= sizeof(addr.sun_path)) goto too_long; strncpy(addr.sun_path, pathname, sizeof(addr.sun_path)); ret = bind(s, (const struct sockaddr *)&addr, SUN_LEN(&addr)); diff --git a/usr.bin/head/head.1 b/usr.bin/head/head.1 index a7fa0bc8458..b62852d2f6a 100644 --- a/usr.bin/head/head.1 +++ b/usr.bin/head/head.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: head.1,v 1.14 2017/07/04 06:59:34 wiz Exp $ +.\" $NetBSD: head.1,v 1.15 2022/08/28 10:48:16 hgutch Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -58,7 +58,7 @@ counts bytes instead of lines. If more than a single file is specified, or the .Fl v option is used, each file is preceded by a header consisting of the string -.Dq ==> XXX \*[Le]= +.Dq ==> XXX <== where .Dq XXX is the name of the file. diff --git a/usr.bin/mkstr/mkstr.1 b/usr.bin/mkstr/mkstr.1 index 5fd812d1981..ce6ace67a51 100644 --- a/usr.bin/mkstr/mkstr.1 +++ b/usr.bin/mkstr/mkstr.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: mkstr.1,v 1.13 2017/07/03 21:34:20 wiz Exp $ +.\" $NetBSD: mkstr.1,v 1.14 2022/08/28 10:48:16 hgutch Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -111,7 +111,7 @@ oops: exit 1 ; } } - if (lseek(efil, a1, 0) < 0 || read(efil, buf, 256) \*[Le] 0) + if (lseek(efil, a1, 0) < 0 || read(efil, buf, 256) <= 0) goto oops; printf(buf, a2, a3, a4); } diff --git a/usr.bin/tail/tail.1 b/usr.bin/tail/tail.1 index 1a68f886762..782c4150e59 100644 --- a/usr.bin/tail/tail.1 +++ b/usr.bin/tail/tail.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: tail.1,v 1.20 2017/10/15 03:57:47 pgoyette Exp $ +.\" $NetBSD: tail.1,v 1.21 2022/08/28 10:48:17 hgutch Exp $ .\" .\" Copyright (c) 1980, 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -143,7 +143,7 @@ If more than a single file is specified, or the .Fl v option is used, each file is preceded by a header consisting of the string -.Dq ==> XXX \*[Le]= +.Dq ==> XXX <== where .Dq XXX is the name of the file. |
