Removed temporary file

This commit is contained in:
Mike Farah 2022-02-09 11:49:41 +11:00
parent bfaafa66f9
commit 4d4bd5114d

View File

@ -1,8 +0,0 @@
#!/bin/bash
# ./yq ea '.[]' examples/data*.yaml
./yq ea '
((.[] | {.name: .}) as $item ireduce ({}; . * $item )) as $uniqueMap
| ( $uniqueMap | to_entries | .[]) as $item ireduce([]; . + $item.value)
' examples/data*.yaml