shell输出json某字段的value

admin5年前1121
grep -Po 'userId[" :]+\K[^"]+' a.txt...