Re: Document bug of 'for' compound command

2017-08-18 Thread vanou
Thanks Pierre Gaston and DJ Mills, I misunderstood arithmetic expression and now make sense. Thank you. On 08/19/2017 01:12 AM, DJ Mills wrote: It's an arithmetic expression, 1 is true and 0 is false. This is not the same as the exit status of a command On Fri, Aug 18, 2017 at 11:59 AM, Pie

Re: Document bug of 'for' compound command

2017-08-18 Thread DJ Mills
It's an arithmetic expression, 1 is true and 0 is false. This is not the same as the exit status of a command On Fri, Aug 18, 2017 at 11:59 AM, Pierre Gaston wrote: > On Fri, Aug 18, 2017 at 6:22 PM, vanou wrote: > > > Hello, > > > > I think, there is document bug related to 'for' compound comm

Re: Document bug of 'for' compound command

2017-08-18 Thread Pierre Gaston
On Fri, Aug 18, 2017 at 6:22 PM, vanou wrote: > Hello, > > I think, there is document bug related to 'for' compound command in both > Man page and Info doc. > > > In man page, description of 'for' compound command ... > > >

Document bug of 'for' compound command

2017-08-18 Thread vanou
Hello, I think, there is document bug related to 'for' compound command in both Man page and Info doc. In man page, description of 'for' compound command ... * for (( expr1 ; expr2 ; expr3 )