help-bash
[Top][All Lists]
Advanced

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

Re: sed: Invalid content of \{\}


From: michael-franzese
Subject: Re: sed: Invalid content of \{\}
Date: Sun, 18 Apr 2021 18:49:34 +0200

Thank you Reuti.

> Sent: Monday, April 19, 2021 at 4:35 AM
> From: "Reuti" <reuti@staff.uni-marburg.de>
> To: michael-franzese@gmx.com
> Cc: "help bash" <help-bash@gnu.org>
> Subject: Re: sed: Invalid content of \{\}
>
>
> > Am 18.04.2021 um 18:18 schrieb michael-franzese@gmx.com:
> >
> >
> >
> > Am trying to capture tho string within {}, but am getting
> >
> > sed: -e expression #1, char 19: Invalid content of \{\}
> > sed: -e expression #1, char 19: Invalid content of \{\}
> > sed: -e expression #1, char 19: Invalid content of \{\}
> >
> >
> > a="{12..30..5}"
> > fa=`echo $a | sed 's/.*(\{.*\}).*/\1/g'`
>
> fa=`echo $a | sed 's/.*{\(.*\)}.*/\1/g'`
>



reply via email to

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