Updated SC1082 (markdown)

Eisuke Kawashima
2025-07-29 10:03:27 +09:00
parent 7d8dceff2c
commit e365ea5bc7

@@ -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