mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Removed temporary file
This commit is contained in:
parent
bfaafa66f9
commit
4d4bd5114d
@ -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
|
|
Loading…
Reference in New Issue
Block a user