update names readme for ponies

Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-05-17 08:08:53 -04:00
parent a08bc50258
commit 2e32a4e4bf
1 changed files with 14 additions and 0 deletions

View File

@ -44,3 +44,17 @@ Array.from(document.getElementsByClassName("listofponies")[0]
});
console.log(JSON.stringify(names));
```
Combine all of the files like this:
```console
$ jq -n '[inputs] | add' \
names-blades.json \
names-ponies-earth.json \
names-ponies-pegasus.json \
names-ponies-unicorn.json\
| jq -r '.[]' \
| sort \
| uniq \
| jq -nR '[inputs | select(length>0)]' > names.json
```