On Wed, Jul 10, 2019 at 09:15:14AM -0400, Chet Ramey wrote:
> On 7/10/19 4:01 AM, westlake wrote:
> > If a normal user types "su -l" and issues this "ls" statement,
> This account has the `extglob' shell option enabled.
"su -l" gives you a login shell, so this instance of bash is reading
/etc/prof
On 7/10/19 4:01 AM, westlake wrote:
> System: linux 64-bit (debian stable, latest release buster)
> Bash version: GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
>
> This bug occurs with the root account,
>
> If a normal user types "su -l" and issues this "ls" statement,
>
> ls -ld .!(?
System: linux 64-bit (debian stable, latest release buster)
Bash version: GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
This bug occurs with the root account,
If a normal user types "su -l" and issues this "ls" statement,
ls -ld .!(?(.))
the output is without error. (the output list