help-bash
[Top][All Lists]
Advanced

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

sed: Invalid content of \{\}


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


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'`




reply via email to

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