view bin/hello-world-in-any-language @ 10458:332c4d131d82

<shachaf> mkx bin/`^//[[ $# == 2 ]] || { echo "Usage: $0 n cmd" >&2; exit 2; }; for ((i=0; i < $1; i++)); do \\` "$2"; done | sport
author HackBot
date Mon, 20 Mar 2017 01:55:37 +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