鋼鐵直男馬克
staff.json | jq '.[][] | select(type=="array")[].name'
鋼鐵直男馬克
staff.json | jq '.[] | {name, members: [.chiefs[].name, .members[].name]} | .name + ": " + .members[]'
鋼鐵直男馬克
staff.json | jq '.[] | {name, members: [.chiefs[].name, .members[].name]} | (.name|split("-")[0]|rtrimstr(" ")) + " - " + .members[]'
載入新的回覆