summaryrefslogtreecommitdiff
path: root/tests/crlf-handling
diff options
context:
space:
mode:
Diffstat (limited to 'tests/crlf-handling')
-rw-r--r--tests/crlf-handling2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/crlf-handling b/tests/crlf-handling
index 239149c..c192cac 100644
--- a/tests/crlf-handling
+++ b/tests/crlf-handling
@@ -14,7 +14,7 @@ use_local_patch
use_tmpdir
lf2crlf() {
- while read l; do echo -e "$l\r"; done
+ while read l; do printf "%s\r\n" "$l"; done
}
echo 1 > a