X-Git-Url: http://git.shiar.net/barcat.git/blobdiff_plain/2bf1b7f24e3dfa3ceb523eb08003d866d50fed0e..ba560363d26272c0464706f5352be7a929729ff2:/barcat diff --git a/barcat b/barcat index b6f60ef..db9de17 100755 --- a/barcat +++ b/barcat @@ -349,9 +349,12 @@ Any kind of database query with counts, preserving returned alignment: External datasets, like movies per year: curl https://github.com/prust/wikipedia-movie-data/raw/master/movies.json | - jq '.[].year' | uniq -c | barcat + perl -054 -nlE 'say if s/^"year"://' | uniq -c | barcat -Pokémon height comparison: +But please get I to process JSON +and replace the manual selection by C<< jq '.[].year' >>. + +PokEmon height comparison: curl https://github.com/Biuni/PokemonGO-Pokedex/raw/master/pokedex.json | jq -r '.pokemon[] | [.height,.num,.name] | join(" ")' | barcat