Mercurial > repo
annotate bin/hello-world-in-any-language @ 9040:19787136f74d
<oerjan> slwd synergy//s/[^.]*/Synergy is when the whole is greater than the sum of its parts/
author | HackBot |
---|---|
date | Thu, 15 Sep 2016 01:18:05 +0000 |
parents | 766a281f3856 |
children |
rev | line source |
---|---|
6868
766a281f3856
<Elronnd> ` echo \'if [ -z $(tr [A-Z] [a-z] <<< "$1") ]; then echo "Hello, world!"; else if [ -f hw/$(tr [A-Z] [a-z] <<< "$1") ]; then cat hw/$(tr [A-Z] [a-z] <<< "$1"); else echo "Your language does not exist"; fi; fi\' > bin/hello-world-in-any-language
HackBot
parents:
6863
diff
changeset
|
1 if [ -z $(tr [A-Z] [a-z] <<< "$1") ]; then echo "Hello, world!"; else if [ -f hw/$(tr [A-Z] [a-z] <<< "$1") ]; then cat hw/$(tr [A-Z] [a-z] <<< "$1"); else echo "Your language does not exist"; fi; fi |