Subject: bug#64607: closed (Re: bug#64607: parted command is not support Brace Expansion in bash shell)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 14 Jul 2023 18:33:02 +0000

Your bug report

#64607: parted command is not support Brace Expansion in bash shell

which was filed against the parted package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
64607: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64607
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#64607: parted command is not support Brace Expansion in bash shell
From: "Brian C. Lane" <[email-masked]>
To: Nguyen Trung Hieu <[email-masked]>
Cc: [email-masked]
Date: Fri, 14 Jul 2023 11:32:25 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, Jul 14, 2023 at 10:17:58AM +0700, Nguyen Trung Hieu wrote:
> Hi all
> 
> ll /dev/sd{c,d,e} --> OK
> 
> parted /dev/sd{c,d,e} print --> NOT OK
> 
> 
> Is it a bug or a feature still not available?
> 
> Is it possible add more codes for parted to support Brace Expansion in bash
> shell?
> 
> Thank you very much!

brace expansion is a shell feature, parted can't support it because it
would imply operating on multiple disks at once :) eg. it is the same as
trying to run:
parted /dev/sdc /dev/sdd /dev/sde print

which doesn't make sense to parted. And even if it did, the only useful
command would be print. You wouldn't want to run mkpart on multiple
devices at once.

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart

Subject: parted command is not support Brace Expansion in bash shell
From: Nguyen Trung Hieu <[email-masked]>
To: [email-masked]
Date: Fri, 14 Jul 2023 10:17:58 +0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi all

ll /dev/sd{c,d,e} --> OK

parted /dev/sd{c,d,e} print --> NOT OK

Is it a bug or a feature still not available?

Is it possible add more codes for parted to support Brace Expansion in bash
shell?

Thank you very much!