Re: Add non-interactive PROMPT_COMMAND

2020-03-11 Thread 積丹尼 Dan Jacobson
> "AKK" == Andreas Kusalananda Kähäri writes: AKK> Does setting a DEBUG trap not do what you want? Such a trap would be AKK> executed before each simple command... OK! I guess it does! Thanks.

Re: command_not_found_handle() flaw

2020-03-11 Thread Phi Debian
Hi All, Ok I got the picture now, and I owe you some apologize, but with what I got in front of me (ubuntu 20.04, bash-git latest) mistake from my side was easy to do. Regarding the docco, I admit I got the latest bash source (git) BUT I read the ubuntu 20.04 doc, that still DON'T mention the sep

numerical comparison missing in bash and expr

2020-03-11 Thread Joseph A. Russo
From: jar To: bug-bash@gnu.org,b...@packages.debian.org Subject: numerical comparison missing in bash and expr Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OS

numerical comparison missing in bash and expr

2020-03-11 Thread Joseph A. Russo
From: jar To: bug-bash@gnu.org,b...@packages.debian.org Subject: numerical comparison missing in bash and expr Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_

Re: numerical comparison missing in bash and expr

2020-03-11 Thread Greg Wooledge
On Wed, Mar 11, 2020 at 07:29:38AM -0400, Joseph A. Russo wrote: > # the following two lines work > [ 5 < 10 ] && echo true || echo false > [ 5 > 10 ] && echo true || echo false You've misunderstood the syntax here. The < sign introduces a redirection of standard input, from a file named

Re: numerical comparison missing in bash and expr

2020-03-11 Thread Joseph A. Russo
Hi, Thank you I appreciate the explanation and the prompt response. Joe On 3/11/20 9:24 AM, Greg Wooledge wrote: On Wed, Mar 11, 2020 at 07:29:38AM -0400, Joseph A. Russo wrote: # the following two lines work [ 5 < 10 ] && echo true || echo false [ 5 > 10 ] && echo true || echo false You'