"åå¶æ£" via Bug reports for the GNU Bourne Again SHell
writes:
> I find that the file descriptor leaks when I execute the command pvs
> in bash 5.2, The abnormal scenario is similar to the bug which
> reported by
> http://lists.gnu.org/archive/html/bug-bash/2017-01/msg00026.html
>
> When I
Date:Mon, 28 Nov 2022 02:53:40 +1000
From:Martin D Kealey
Message-ID:
| The expansion `$[var+replacement}` was part of the Bourne shell when I used
| it in 1985 (before POSIX was first published),
>From the original Bourne sh (released outside Bell Labs in 1979
The expansion `$[var+replacement}` was part of the Bourne shell when I used
it in 1985 (before POSIX was first published), whereas `test A -gt B` is
rather newer, and `test -v` is only a Bash extension (and similarly wasn't
added until later).
The man and info pages have retained the rather terse
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2
uname output: Linux medium 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2
(2022-10-21) x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.2
Patch Le
On 11/27/22 14:10, David wrote:
On Mon, 28 Nov 2022 at 00:01, Alejandro Colomar wrote:
On 11/27/22 12:41, Alexey wrote:
On 2022-11-26 21:45, Alejandro Colomar wrote:
I could suggest you to use for clarity another construction:
[[ ${1+isset} ]] || echo "not set"
Here "isset" is just for
On Mon, 28 Nov 2022 at 00:01, Alejandro Colomar wrote:
> On 11/27/22 12:41, Alexey wrote:
> > On 2022-11-26 21:45, Alejandro Colomar wrote:
> > I could suggest you to use for clarity another construction:
> > [[ ${1+isset} ]] || echo "not set"
> > Here "isset" is just for readability. You could
Hi Alexey,
On 11/27/22 12:41, Alexey wrote:
On 2022-11-26 21:45, Alejandro Colomar wrote:
That was my gut; thanks! I'll workaround with $#.
I could suggest you to use for clarity another construction:
[[ ${1+isset} ]] || echo "not set"
Here "isset" is just for readability. You could place a
On 2022-11-26 21:45, Alejandro Colomar wrote:
That was my gut; thanks! I'll workaround with $#.
I could suggest you to use for clarity another construction:
[[ ${1+isset} ]] || echo "not set"
Here "isset" is just for readability. You could place any other string
literal there.
Regards,
Ale