Commit: 418cff1693bf9a850d0394ef586ebc72b7c1e249 Parent: 6d912984f507606f28f032348edce1f37f45daa2 Author: Randy Palamar Date: Sun, 29 Aug 2021 11:56:51 -0600 kshrc: replace ' ' with \x0d Diffstat:
M | .config/ksh/kshrc | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.config/ksh/kshrc b/.config/ksh/kshrc @@ -78,7 +78,7 @@ IFS=' fix_line_endings() { tmpfile=$(mktemp) for file; do - sed s:::;s:^:: "$file" >| "$tmpfile" + sed 's:\x0d::;s:^::' "$file" >| "$tmpfile" mv "$tmpfile" "$file" done }