Module Name:    src
Committed By:   andvar
Date:           Sun Nov  7 09:48:08 UTC 2021

Modified Files:
        src/usr.bin/menuc: menuc.1

Log Message:
fix few typos.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/usr.bin/menuc/menuc.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/menuc/menuc.1
diff -u src/usr.bin/menuc/menuc.1:1.38 src/usr.bin/menuc/menuc.1:1.39
--- src/usr.bin/menuc/menuc.1:1.38	Sun Jun 23 11:22:48 2019
+++ src/usr.bin/menuc/menuc.1	Sun Nov  7 09:48:08 2021
@@ -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 @@ If it's null, string
 .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 @@ process sub menu (if set) and continue w
 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 @@ to jump to an arbitrary menu item (in th
 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 @@ When leaving the menu, all
 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 {

Reply via email to