diff --git a/SC1017.md b/SC1017.md index fd8bd60..1b65460 100644 --- a/SC1017.md +++ b/SC1017.md @@ -26,6 +26,8 @@ If you don't know how to get your editor to save a file with Unix line terminato ```sh tr -d '\r' < badscript > goodscript +or +dos2unix badscript ``` This will read a script `badscript` with possible carriage returns, and write `goodscript` without them.