From 5c9f6c824440637cf4e44c24730610b8562bf977 Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Tue, 29 Jul 2025 10:36:29 +0900 Subject: [PATCH] Updated SC2316 (markdown) --- SC2316.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SC2316.md b/SC2316.md index e047150..d964aab 100644 --- a/SC2316.md +++ b/SC2316.md @@ -3,14 +3,14 @@ ### Problematic code: -```sh +```bash local readonly foo=3 readonly export bar=4 ``` ### Correct code: -```sh +```bash local foo=3 readonly foo @@ -20,7 +20,7 @@ export bar or -``` +```bash declare -r foo=3 declare -rx bar=4 ```