[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'`
>
- sed: Invalid content of \{\}, michael-franzese, 2021/04/18
- Re: sed: Invalid content of \{\}, Lawrence Velázquez, 2021/04/18
- Re: sed: Invalid content of \{\}, Reuti, 2021/04/18
- Re: sed: Invalid content of \{\},
michael-franzese <=
- Re: sed: Invalid content of \{\}, Eli Schwartz, 2021/04/18
- Re: sed: Invalid content of \{\}, Davide Brini, 2021/04/18
- Re: sed: Invalid content of \{\}, Greg Wooledge, 2021/04/18