From 648dd200bd42185fa0a3a8e974ce6a75845acfe0 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 11 May 2023 02:52:47 -0700 Subject: [PATCH] Expand try section in 2012/kang/README.md Added some German to try and also asked some questions both about German as well as one about Spanish. This (and in particular the German) was prompted by a brief dialogue in GitHub. --- 2012/kang/README.md | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/2012/kang/README.md b/2012/kang/README.md index d0880a685..fdedc5a18 100644 --- a/2012/kang/README.md +++ b/2012/kang/README.md @@ -16,6 +16,12 @@ make echo "full spelling of an English cardinal numeral less than a quadrillion" | ./kang ``` +[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) changed the code to +accept the proper German for four 'vier' where before it was spelt with the +sound of V (fier not vier). But was this a bug or a feature? He's on the fence +here but he went ahead and did it anyway as it seems useful. Thank you Cody! + + ## Try: ```sh @@ -24,12 +30,27 @@ echo uno | ./kang echo trois | ./kang echo vier | ./kang echo "shest'" | ./kang + ``` -[Cody Boone Ferguson](/winners.html#Cody_Boone_Ferguson) changed the code to -accept the proper German for four 'vier' where before it was spelt with the -sound of V (fier not vier). But was this a bug or a feature? He's on the fence -here but he went ahead and did it anyway as it seems useful. Thank you Cody! +How does it have no `u` or `o` in a string in the source code and yet it gets +`uno` right? + +### Also try: + +For those who speak Germans: + +```sh +for i in eins zwei drei vier fuenf sechs sieben acht neun zehn elf zwoelf dreizehn ; \ +do + echo "$i"|./kang; +done + +``` + +What does it get right? What does it get wrong? Finally why does it get what it +gets wrong wrong? + ## Judges' remarks: