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

Re: [PATCH] more doubles



On 18 May 2011 00:26, Dan Nelson <dnelson@xxxxxxxxxxxxxxx> wrote:
> In the last episode (May 17), Mikael Magnusson said:
>> Realized I should just search for any doubled word instead of trying to
>> think up examples.  I hope nobody minds I didn't reflow comments.  :)
>>
>> --- a/Doc/Zsh/builtins.yo
>> +++ b/Doc/Zsh/builtins.yo
>> @@ -406,7 +406,7 @@ with emulations to be set to their values in tt(sh).  tt(fni) then
>>  calls tt(fno); because tt(fno) is also marked for sticky tt(sh)
>>  emulation, no option changes take place on entry to or exit from it.
>>  Hence the option tt(cshnullglob), turned off by tt(sh) emulation, will
>> -be turned on within tt(fni) and remain on on return to tt(fno).  On exit
>> +be turned on within tt(fni) and remain on return to tt(fno).  On exit
>>  from tt(fno), the emulation mode and all options will be restored to the
>>  state they were in before entry to the temporary emulation.
>
> With my "Mister Grammar Person" hat on, I think the original was correct
> here.  The first "on" being the state of cshnullglob, the second "on" being
> part of the phrase "on return to fno".  The rest of the changes look good.

Aha, thanks. There were a couple of these cases to filter out,
especially "that that", but this one I missed.

-- 
Mikael Magnusson



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