aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2011-11-16 17:51:02 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2011-11-16 17:51:02 -0500
commit6f59375678cdc8d5a613a2917484c75d73407268 (patch)
treeae3c1269469e05d14e867427543219a88b664bdf
parentGit example. (diff)
downloadspark-6f59375678cdc8d5a613a2917484c75d73407268.tar.xz
spark-6f59375678cdc8d5a613a2917484c75d73407268.zip
Fun new example.
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 22c63bc..9d4ccf0 100644
--- a/README.md
+++ b/README.md
@@ -28,3 +28,9 @@ Number of commits in a git repo per active day:
$ git log --pretty=format:%ai --reverse | cut -d' ' -f1 | uniq -c | awk '{print $1}' | spark
▁▂▄▃▃▂▃▃▄▄▄▃▁▂▁▁▄▃█▃▂▂▅▄▄▃▂▄▃▇▄▂▄▁▁▂▅▂▂▁▂▁▂▂▄▅▃▂▃▂▂▂▂▄▂▂▁▄▂▁▂▂▃▂▂▂▁▂▂▂▄▂▃▃▆▅▂▂▄▅▃▁▂▁▁▂▁▂▂▄▁▁▂▃▂▂▄
+
+Characters per line in spark.c:
+
+ $ awk '{ print length($0) }' spark.c | grep -Ev '^0$' | spark
+ ▂▂▂▂▂▂▂▃▁█▆▆▂▁▂▂▃▃▂▂▄▂▂▂▁▃▃▃▂▃▂▁▂▂▂▂▂▂▄▂▂▂▁▂▂▂▇▂▂▂▂▂▁▂▂▃▂▅▂▃▂▁▁▃▃▃▃▃▂▁▂▁▁▃▂▂▃▃▂▂▇▁▂▂▂▁
+