Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/menuc fix few typos.



details:   https://anonhg.NetBSD.org/src/rev/9331108b84c1
branches:  trunk
changeset: 991084:9331108b84c1
user:      andvar <andvar%NetBSD.org@localhost>
date:      Sun Nov 07 09:48:08 2021 +0000

description:
fix few typos.

diffstat:

 usr.bin/menuc/menuc.1 |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r 532abcab2cc2 -r 9331108b84c1 usr.bin/menuc/menuc.1
--- a/usr.bin/menuc/menuc.1     Sun Nov 07 09:22:58 2021 +0000
+++ b/usr.bin/menuc/menuc.1     Sun Nov 07 09:48:08 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: menuc.1,v 1.38 2019/06/23 11:22:48 martin Exp $
+.\"    $NetBSD: menuc.1,v 1.39 2021/11/07 09:48:08 andvar Exp $
 .\"
 .\" Copyright 1997 Piermont Information Systems Inc.
 .\" All rights reserved.
@@ -544,7 +544,7 @@
 .Dq Exit
 is used.
 .Sh MENU ITEM ACTIONS
-When creating dynamic menus, the programer supplies function pointers
+When creating dynamic menus, the programmer supplies function pointers
 for the menu items
 .Dv opt_action
 member.
@@ -555,7 +555,7 @@
 as usual.
 .It 1
 exit the current menu.
-This is equivalen to specifying
+This is equivalent to specifying
 .Dq exit
 in a non-dynamic menu specification.
 .It -1
@@ -571,13 +571,13 @@
 With the
 .Ic enable expansion
 declaration in effect, static menus may be customized before being displayed.
-This allows parameter substition or special formatting of the menu item
+This allows parameter substitution or special formatting of the menu item
 strings without having to resort to a full dynamic menu.
 Expanded strings are stored in the
 .Fa opt_exp_name
 member of struct
 .Vt menu_ent .
-This string is prefered over the non-expanded string
+This string is preferred over the non-expanded string
 .Fa opt_name
 when displaying the menu.
 The expand action code is responsible for filling this pointers.
@@ -586,7 +586,7 @@
 pointers that are populated will be automatically freed by calling
 .Xr free 3 .
 .Pp
-A very simple (and nonsensial) example for an expand option would
+A very simple (and nonsensical) example for an expand option would
 be:
 .Bd -literal -offset indent
 expand action {



Home | Main Index | Thread Index | Old Index