From 9c16c265f08bf61e3087730f9523d087bd448707 Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Tue, 29 Jul 2025 10:51:30 +0900 Subject: [PATCH] Updated SC2218 (markdown) --- SC2218.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2218.md b/SC2218.md index efb39e9..8f7213c 100644 --- a/SC2218.md +++ b/SC2218.md @@ -29,7 +29,7 @@ Function definitions are much like variable assignments, and define a name at th This is especially apparent when defining functions conditionally: -``` +```sh case "$(uname -s)" in Linux) hi() { echo "Hello from Linux"; } ;; Darwin) hi() { echo "Hello from macOS"; } ;;