bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash --pretty-print and pattern


From: Greg Wooledge
Subject: Re: bash --pretty-print and pattern
Date: Thu, 20 Feb 2025 08:29:19 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

On Thu, Feb 20, 2025 at 21:25:45 +0900, Koichi Murase wrote:
> $ bash --pretty-print -O extglob test.sh

Yeah, I misread the question a little bit.  Sorry about that.

By the way, is this considered a bug:


hobbit:~$ bash -O extglob --pretty-print x
bash: --: invalid option
Usage:  bash [GNU long option] [option] ...
        bash [GNU long option] [option] script-file ...
GNU long options:
[...]


The --pretty-print option works if it's first, but not if it comes
after the -O extglob.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]