Hi Chet!

> >> Thanks for the report. The synopsis should read
> >>
> >> cd [-L|[-P [-e]]] [-@] [dir]
> >           ^       ^
> > But aren't these two brackets just superfluous?
> 
> -L and -P are mutually exclusive, and -e is valid only when -P is
> supplied.

Yes, my feeling was just that | has such a low precedence that the marked pair 
of brackets could be omitted, like in
  id|cut -c1-3
or in the ERE
  ^(-L|-P( -e)?)?$

But situation seems to be different here.

Best regards,

Martin

Reply via email to