Re: shouldn't it the comma operator has the lowerest precedence in the shell arithmetic expression?

2019-10-01 Thread hk
sorry for the typo in the title, it should be *lowest*. On Wed, Oct 2, 2019 at 8:35 AM hk wrote: > Configuration Information : > Bash Version: 5.0 > Patch Level: 0 > Release Status: release > > Description: > the code snippet from expr.c starting from line 141

shouldn't it the comma operator has the lowerest precedence in the shell arithmetic expression?

2019-10-01 Thread hk
Configuration Information : Bash Version: 5.0 Patch Level: 0 Release Status: release Description: the code snippet from expr.c starting from line 141: > /* This should be the function corresponding to the operator with the >highest precedence. */ > #define EXP_HIGHEST expcomma Am I

Re: Wrong command option in the manual examples

2019-09-22 Thread hk
GNU-implemented `find' does have a `-depth' option and a `-maxdepth' option. Directories[findutils] <https://www.gnu.org/software/findutils/manual/html_node/find_html/Directories.html#Directories> On Mon, Sep 23, 2019 at 2:15 AM Chet Ramey wrote: > On 9/20/19 10:24 PM, hk wrote: &

Re: Incorrect example for `[[` command.

2019-09-21 Thread hk
Thanks. Have learnt a lot from your replies. On Sat, Sep 21, 2019 at 5:34 PM Ilkka Virta wrote: > On 21.9. 03:12, hk wrote: > > Thanks for the reply. I was wrong in my report. It does match values like > > aab and aab in its original form. > > In some systems, yes

Wrong command option in the manual examples

2019-09-20 Thread hk
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-security uname output: Linux hk 4.15.0-62-generic #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Re: Incorrect example for `[[` command.

2019-09-20 Thread hk
in most cases. On Fri, Sep 20, 2019 at 11:48 PM Chet Ramey wrote: > On 9/20/19 1:40 AM, hk wrote: > > > Bash Version: 5.0 > > Patch Level: 0 > > Release Status: release > > > > Description: > > On section 3.2.4.2 of Bash Reference Manual, the ex

Incorrect example for `[[` command.

2019-09-20 Thread hk
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 -Wno-parentheses -Wno-format-security uname output: Linux hk 4.15.0-62-generic #69-Ubuntu SMP Wed Sep 4 20:55:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux