view bin/hello-world-in-any-language @ 11299:0fefbdece7f0

<b_jonas> fetch bin/starwars https://hackego.esolangs.org/get/bin/starwars
author HackBot
date Tue, 02 Jan 2018 17:00:32 +0000
parents c989a1669243
children 138d7dafc5b1
line wrap: on
line source

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