Re: ksh.1: Add a missing Ns

2022-12-26 Thread Jason McIntyre
On Mon, Dec 26, 2022 at 12:11:20PM -0500, Josiah Frentsos wrote:
> Index: ksh.1
> ===

fixed, thanks.
jmc

> RCS file: /cvs/src/bin/ksh/ksh.1,v
> retrieving revision 1.217
> diff -u -p -r1.217 ksh.1
> --- ksh.1 13 Sep 2022 20:26:26 -  1.217
> +++ ksh.1 26 Dec 2022 17:10:37 -
> @@ -2713,9 +2713,7 @@ Exit status is set to zero.
>  .Cm +-x Oc
>  .Op Fl p
>  .Op Cm +
> -.Oo Ar name
> -.Op Ns = Ns Ar value
> -.Ar ... Oc
> +.Op Ar name Ns Oo = Ns Ar value Oc Ar ...
>  .Xc
>  Without arguments,
>  .Ic alias
> @@ -3454,9 +3452,7 @@ option is used, input is saved to the hi
>  .It Xo
>  .Ic readonly
>  .Op Fl p
> -.Oo Ar parameter
> -.Op Ns = Ns Ar value
> -.Ar ... Oc
> +.Op Ar parameter Ns Oo = Ns Ar value Oc Ar ...
>  .Xc
>  Sets the read-only attribute of the named parameters.
>  If values are given,
> @@ -4125,11 +4121,7 @@ Short form of
>  .Op Fl i Ns Op Ar n
>  .No \&| Fl f Op Fl tux
>  .Oc
> -.Oo
> -.Ar name
> -.Op Ns = Ns Ar value
> -.Ar ...
> -.Oc
> +.Op Ar name Ns Oo = Ns Ar value Oc Ar ...
>  .Xc
>  Display or set parameter attributes.
>  With no
> 



Re: ksh.1: Add a missing Ns

2022-12-26 Thread Josiah Frentsos
Index: ksh.1
===
RCS file: /cvs/src/bin/ksh/ksh.1,v
retrieving revision 1.217
diff -u -p -r1.217 ksh.1
--- ksh.1   13 Sep 2022 20:26:26 -  1.217
+++ ksh.1   26 Dec 2022 17:10:37 -
@@ -2713,9 +2713,7 @@ Exit status is set to zero.
 .Cm +-x Oc
 .Op Fl p
 .Op Cm +
-.Oo Ar name
-.Op Ns = Ns Ar value
-.Ar ... Oc
+.Op Ar name Ns Oo = Ns Ar value Oc Ar ...
 .Xc
 Without arguments,
 .Ic alias
@@ -3454,9 +3452,7 @@ option is used, input is saved to the hi
 .It Xo
 .Ic readonly
 .Op Fl p
-.Oo Ar parameter
-.Op Ns = Ns Ar value
-.Ar ... Oc
+.Op Ar parameter Ns Oo = Ns Ar value Oc Ar ...
 .Xc
 Sets the read-only attribute of the named parameters.
 If values are given,
@@ -4125,11 +4121,7 @@ Short form of
 .Op Fl i Ns Op Ar n
 .No \&| Fl f Op Fl tux
 .Oc
-.Oo
-.Ar name
-.Op Ns = Ns Ar value
-.Ar ...
-.Oc
+.Op Ar name Ns Oo = Ns Ar value Oc Ar ...
 .Xc
 Display or set parameter attributes.
 With no



Re: ksh.1: Add a missing Ns

2022-12-25 Thread Jason McIntyre
On Sat, Dec 24, 2022 at 12:25:15PM -0500, Josiah Frentsos wrote:
> Index: ksh.1
> ===
> RCS file: /cvs/src/bin/ksh/ksh.1,v
> retrieving revision 1.217
> diff -u -p -r1.217 ksh.1
> --- ksh.1 13 Sep 2022 20:26:26 -  1.217
> +++ ksh.1 24 Dec 2022 17:22:08 -
> @@ -3454,9 +3454,7 @@ option is used, input is saved to the hi
>  .It Xo
>  .Ic readonly
>  .Op Fl p
> -.Oo Ar parameter
> -.Op Ns = Ns Ar value
> -.Ar ... Oc
> +.Op Ar parameter Ns Oo = Ns Ar value Oc Ar ...
>  .Xc
>  Sets the read-only attribute of the named parameters.
>  If values are given,
> 

so i see this same notation for "alias" and "typeset". do you want to
check out whether the same changes make sense there (and whether i've
missed any) and submit an updated diff?

thanks,
jmc



ksh.1: Add a missing Ns

2022-12-24 Thread Josiah Frentsos
Index: ksh.1
===
RCS file: /cvs/src/bin/ksh/ksh.1,v
retrieving revision 1.217
diff -u -p -r1.217 ksh.1
--- ksh.1   13 Sep 2022 20:26:26 -  1.217
+++ ksh.1   24 Dec 2022 17:22:08 -
@@ -3454,9 +3454,7 @@ option is used, input is saved to the hi
 .It Xo
 .Ic readonly
 .Op Fl p
-.Oo Ar parameter
-.Op Ns = Ns Ar value
-.Ar ... Oc
+.Op Ar parameter Ns Oo = Ns Ar value Oc Ar ...
 .Xc
 Sets the read-only attribute of the named parameters.
 If values are given,