Hi Ted,

Ted Unangst wrote on Wed, Dec 03, 2014 at 05:41:41PM -0500:

> Here's a revised diff against current. It just notes that the
> extension spellings are such.

I'm OK with that, discouraging gratuitiously non-standard syntax
makes a lot of sense.

I'm also OK (and would slightly prefer) even stronger variations
similar to

  The non-standard spelling
  .Cm -and
  is also accepted.

either at the place you propose now, or maybe even better after
each of the two operators, as you originally proposed.

Using the variants doesn't offer any "extended" functionality,
it merely asks for trouble.

Yours,
  Ingo


> Index: find.1
> ===================================================================
> RCS file: /cvs/src/usr.bin/find/find.1,v
> retrieving revision 1.89
> diff -u -p -r1.89 find.1
> --- find.1    3 Dec 2014 19:39:57 -0000       1.89
> +++ find.1    3 Dec 2014 22:40:18 -0000
> @@ -509,7 +509,6 @@ operator.
>  It evaluates to true if the expression is false.
>  .Pp
>  .It Ar expression Cm -a Ar expression
> -.It Ar expression Cm -and Ar expression
>  .It Ar expression expression
>  The logical AND operator.
>  As it is implied by the juxtaposition of two expressions it does not
> @@ -518,7 +517,6 @@ The expression evaluates to true if both
>  The second expression is not evaluated if the first expression is false.
>  .Pp
>  .It Ar expression Cm -o Ar expression
> -.It Ar expression Cm -or Ar expression
>  The logical OR operator.
>  The expression evaluates to true if either the first or the second expression
>  is true.
> @@ -529,6 +527,11 @@ Operators, primaries, and arguments to p
>  arguments to
>  .Nm find ,
>  i.e. they should be separated by whitespace.
> +.Pp
> +As an extension, the AND and OR operators may also be spelled
> +.Cm -and
> +and
> +.Cm -or .
>  .Sh EXIT STATUS
>  The
>  .Nm

Reply via email to