bug-bash
[Top][All Lists]
Advanced

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

Re: improving '{...}' in bash?


From: felix
Subject: Re: improving '{...}' in bash?
Date: Thu, 15 Aug 2024 08:30:58 +0200

This will juste require embeding second braces:

Le Tue, Jul 23, 2024 at 07:50:24AM +0200, Harald Dunkel a écrit :
>       % echo x{1..3,5}x
>       x1..3x x5x
> 
> I would have expected "x1x" and "x1x x2x x3x x5x".
Try:

$ echo x{{1..3},5}x
x1x x2x x3x x5x


-- 
 Félix Hauri  -  <felix@f-hauri.ch>  -  http://www.f-hauri.ch



reply via email to

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