Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

/prog/ challenge 2009: tskbot

Name: Anonymous 2022-04-14 19:31

Create a program which accepts a string on stdin, and outputs to stdout either the string ``tsk'', or an empty string. The formar case happens when the input string contains the substring ``nigger'' (case-insensitive). The latter happens in other cases.

Shortest program wins. You have 7*24 hours from the timestamp of this poast. Good luck!

Name: Anonymous 2022-04-15 1:59

(when (re-find #"(?i)nigger" (slurp *in*)) (println "tsk"))

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List