HereIsAKey This is the value
我该怎么做呢?
MyVar=Get HereIsAKey
然后MyVar应该等于“这是值”.密钥没有空格,值应该是密钥之后的空白.
myVar=$(grep -Po "(?<=^HereIsAKey ).*" file)