Created
March 1, 2012 22:03
-
-
Save gorenje/1953545 to your computer and use it in GitHub Desktop.
something for http://code-poems.com/
This file contains 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
#!/bin/bash | |
# not an original poem, | |
# no known author, | |
# no known copyright, | |
# aesthetics over originality? | |
_..() { .._ ${@//[tt]?[^s]/2};} | |
__.() { echo -ne $@' ' ;} | |
one() { __. '1' && _.. $@ ;} | |
and() { __. '&' && _.. $@ ;} | |
two() { __. '2' && _.. $@ ;} | |
.__() { echo -ne $@\\n ;} | |
.._() { .__ ${@//[ow]?[^s]/1};} | |
one one was a racehorse | |
two two was one too | |
one day one one won one race | |
and two two won one too |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
to view: