bug#33468: A bug with yes and --help

2019-02-13 Thread Assaf Gordon
Hello, On 2019-02-12 7:00 p.m., Eric Blake wrote: On 2/12/19 7:21 PM, Assaf Gordon wrote: + optind = 1; Why are you doing this in every caller, instead of doing it just once inside the body of parse_gnu_standard_options_only(), so that the state is left unchanged at optind==1 if there were

bug#33468: A bug with yes and --help

2019-02-13 Thread Eric Blake
On 2/13/19 6:56 PM, Assaf Gordon wrote: > Hello, > > On 2019-02-12 7:00 p.m., Eric Blake wrote: >> On 2/12/19 7:21 PM, Assaf Gordon wrote: >> >>> +  optind = 1; >> >> Why are you doing this in every caller, instead of doing it just once >> inside the body of parse_gnu_standard_options_only(), so t

bug#34475: Mention even more worries for test -a

2019-02-13 Thread 積丹尼 Dan Jacobson
First, on the test(1) man page, at EXPRESSION1 -a EXPRESSION2 both EXPRESSION1 and EXPRESSION2 are true EXPRESSION1 -o EXPRESSION2 either EXPRESSION1 or EXPRESSION2 is true Say instead EXPRESSION1 -a EXPRESSION2 both EXPRESSION1 a