Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug / error in manpage.



Agreed - I was thinking it was probably a matter of time before one of you
came
up with a good example.

Are you thinking mentioning angle-brackets needing special quoting, or are
you thinking about just removing mention of them from that section of
the manpage?

On 10/2/12 11:35 AM, "Peter Stephenson" <p.w.stephenson@xxxxxxxxxxxx>
wrote:

>On Tue, 02 Oct 2012 07:06:43 -0700
>Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>> What PWS's patch does, in effect, is arrange that [ ] will quote the
>> redirection operators so you no longer need to explicitly quote them in
>> that particular context.  This is probably breaking some rule or other
>> of POSIX shell syntax but I can't immediately come up with any example
>> where it will matter.
>
>Here's one:
>
>[</dev/null ]
>
>Before returned false, now says
>
>zsh: no such file or directory: [</dev/null
>
>That looks likes something of a dealbreaker; there's no simple
>syntactic distinction between that and the cases that we'd like to work.
>It might be better just to document the limitations.
>
>-- 
>Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
>Web page now at http://homepage.ntlworld.com/p.w.stephenson/



Messages sorted by: Reverse Date, Date, Thread, Author