Skip to content

Instantly share code, notes, and snippets.

@jswanner jswanner/running-script
Last active May 25, 2018

Embed
What would you like to do?
$ chmod +x wc.rb
$ echo "hello, world" | ./wc.rb
1 2 13
$ printf "line 1\nline 2\n" | ./wc.rb
2 4 14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.