escape unicode character in pod
[barcat.git] / barcat
diff --git a/barcat b/barcat
index b6f60ef2a6b36355c1de63f3d6a96a935fe108ea..db9de174eee475b66ced06814c50dd21562d6552 100755 (executable)
--- 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<jq> to process JSON
+and replace the manual selection by C<< jq '.[].year' >>.
+
+PokE<eacute>mon height comparison:
 
     curl https://github.com/Biuni/PokemonGO-Pokedex/raw/master/pokedex.json |
     jq -r '.pokemon[] | [.height,.num,.name] | join(" ")' | barcat