[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug Using Brackets
From: |
felix |
Subject: |
Re: Bug Using Brackets |
Date: |
Wed, 6 Jan 2021 17:16:26 +0100 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Hi,
On Wed, Jan 06, 2021 at 11:32:49PM +0800, Harry Lee wrote:
> root@server:~# bash -version
> GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
> Copyright (C) 2019 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>
> This is free software; you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> root@server:~# echo [0-1]
> 1
> root@server:~# echo [[[[[[[[[208174hkjdfsglh0-13984jf0]
> 1
I use near same version, but can't reproduce:
$ echo $BASH_VERSION
5.0.3(1)-release
$ echo [0-1]
[0-1]
Please try this:
$ LANG=C bash -norc -c 'echo [0-1]'
--
Félix Hauri - <felix@f-hauri.ch> - http://www.f-hauri.ch