How to detect duplicates using jq
How to detect duplicates using jq
 How to detect duplicates using jq 
 How to detect duplicates using jq
1
2
yq -o=json eval  data/aaa/bbb.yaml | jq '.ldap.ldap.members  | group_by(.) | map(select(length>1) | .[0])'
Links:
202405102105
 This post is licensed under  CC BY 4.0  by the author.
