TO 2023 REBRAND
This commit is contained in:
10
cv/rendered.sh
Normal file
10
cv/rendered.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
#! /bin/bash
|
||||
cd "$(dirname "$(realpath "$BASH_SOURCE")")"
|
||||
cat 2* \
|
||||
| gojq -c --yaml-input '.[] | {when: .when, s: .rendered}' \
|
||||
| grep -v null \
|
||||
| grep -v '""' \
|
||||
| $(which jq) -r -c . \
|
||||
| sort \
|
||||
| $(which jq) -s 'group_by(.when) | map({key: (.[0].when | tostring), value: [.[] | .s]}) | from_entries' \
|
||||
| gojq --yaml-output
|
||||
Reference in New Issue
Block a user