mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated SC1017 (markdown)
@@ -26,6 +26,8 @@ If you don't know how to get your editor to save a file with Unix line terminato
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
tr -d '\r' < badscript > goodscript
|
tr -d '\r' < badscript > goodscript
|
||||||
|
or
|
||||||
|
dos2unix badscript
|
||||||
```
|
```
|
||||||
|
|
||||||
This will read a script `badscript` with possible carriage returns, and write `goodscript` without them.
|
This will read a script `badscript` with possible carriage returns, and write `goodscript` without them.
|
||||||
|
Reference in New Issue
Block a user