Advertisement
metalx1000

JQ Parse JSON from callback calendar

May 6th, 2024
771
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. cat cache.json|jq '.days[].assignments[]|select(.name|contains("Engine 61")).shifts[]'|jq -r '"-----",.start,.user.name,.qualifiers[0].name,.work_type.name'|tr "\n" "|"|sed 's/-----/\n/g'|grep Kris|sed 's/|/\n/g'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement