From ba46477567fe001af381457ec583b6bcffa26195 Mon Sep 17 00:00:00 2001 From: JamLee Date: Mon, 6 Mar 2023 17:27:28 +0800 Subject: [PATCH] Updated SC1017 (markdown) --- SC1017.md | 2 ++ 1 file changed, 2 insertions(+) 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.