From e365ea5bc759f3f0eaef4929b71ff579c87bf5ed Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Tue, 29 Jul 2025 10:03:27 +0900 Subject: [PATCH] Updated SC1082 (markdown) --- SC1082.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SC1082.md b/SC1082.md index 48c2147..99454f0 100644 --- a/SC1082.md +++ b/SC1082.md @@ -4,7 +4,7 @@ This is an encoding error that can't be seen in the script itself, but `cat -v` will show three bytes of garbage at the start of the file: -``` +```console $ cat -v file M-oM-;M-?#!/bin/bash echo "hello world" @@ -18,7 +18,7 @@ The code is correct when this garbage does not appear. Some editors may save a file with a [Byte Order Mark](https://en.wikipedia.org/wiki/Byte_order_mark) to mark the file as UTF-8. Shells do not understand this and will give errors on the first line: -``` +```console $ bash myscript myscript: line 1: #!/bin/sh: No such file or directory