Created
July 10, 2011 04:38
-
-
Save spheromak/1074277 to your computer and use it in GitHub Desktop.
rev unix cmd in ruby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
ARGF.each_line { |e| puts e.chomp.reverse } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment