add script to count chars on clipboard

This commit is contained in:
Sami Samhuri 2016-08-08 11:14:14 -07:00
parent 58eb4b7338
commit c39fd43096

3
count-chars Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
pbpaste | ruby -e 'puts ARGF.read.length'