SyntaxFix
Write A Post
Hire A Developer
Questions
Use parameter expansion, if the value is already stored in a variable.
$ str="GenFiltEff=7.092200e-01" $ value=${str#*=}
Or use read
read
$ IFS="=" read name value <<< "GenFiltEff=7.092200e-01"
Either way,
$ echo $value 7.092200e-01