help-bash
[Top][All Lists]
Advanced

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

Re: sed: Invalid content of \{\}


From: Greg Wooledge
Subject: Re: sed: Invalid content of \{\}
Date: Sun, 18 Apr 2021 13:05:03 -0400

On Sun, Apr 18, 2021 at 06:18:32PM +0200, michael-franzese@gmx.com wrote:
> Am trying to capture tho string within {}
> 
> a="{12..30..5}"

out=${a#*\{} out=${out%\}*}

(Others have already pointed out your regular expression mistakes.)



reply via email to

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