GNU bug report logs - #64607
parted command is not support Brace Expansion in bash shell

Previous Next

Package: parted;

Reported by: Nguyen Trung Hieu <thaygiaoth <at> gmail.com>

Date: Fri, 14 Jul 2023 07:33:02 UTC

Severity: normal

Done: "Brian C. Lane" <bcl <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "Brian C. Lane" <bcl <at> redhat.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#64607: closed (parted command is not support Brace Expansion
 in bash shell)
Date: Fri, 14 Jul 2023 18:33:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 14 Jul 2023 11:32:25 -0700
with message-id <ZLGUuR3J16wXnX6D <at> ohop.brianlane.com>
and subject line Re: bug#64607: parted command is not support Brace Expansion in bash shell
has caused the debbugs.gnu.org bug report #64607,
regarding parted command is not support Brace Expansion in bash shell
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
64607: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64607
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nguyen Trung Hieu <thaygiaoth <at> gmail.com>
To: bug-parted <at> gnu.org
Subject: parted command is not support Brace Expansion in bash shell
Date: Fri, 14 Jul 2023 10:17:58 +0700
[Message part 3 (text/plain, inline)]
Hi all

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

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

[image: image.png]

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!
[Message part 4 (text/html, inline)]
[image.png (image/png, inline)]
[Message part 6 (message/rfc822, inline)]
From: "Brian C. Lane" <bcl <at> redhat.com>
To: Nguyen Trung Hieu <thaygiaoth <at> gmail.com>
Cc: 64607-close <at> debbugs.gnu.org
Subject: Re: bug#64607: parted command is not support Brace Expansion in bash
 shell
Date: Fri, 14 Jul 2023 11:32:25 -0700
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
> 
> [image: image.png]
> 
> 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



This bug report was last modified 1 year and 315 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.