我有以下字符串:
原文链接:https://www.f2er.com/bash/389108.html{"_id":"scheme_version","_rev":"4-cad1842a7646b4497066e09c3788e724","scheme_version":1234}
并且我需要获得“scheme version”的值,在此示例中为1234。
我努力了
grep -Eo "\"scheme_version\":(\w*)"
但是它返回
"scheme_version":1234