▲ 444 ▼ Infallible Code (lemmy.ml) submitted 1 year ago by sirico@feddit.uk to c/programmerhumor@lemmy.ml 134 comments fedilink hide all child comments
[–] barubary@infosec.exchange 5 points 1 year ago @tetris11 @Aedis More like: isEven() { case "$1" in *[02468]) return 0;; *) return 1;; esac;} (If all the line breaks are gone from this code snippet, blame Lemmy. It looks fine here.) permalink fedilink source parent