Use tr's \n notation rather than \012.

This commit is contained in:
Jim Meyering committed 2003-05-14 06:25:08 +00:00
1 parent 6fb0b1d366
commit 00a770a30e
1 file changed
+1 -1
+1 -1
View File
@@ -41,7 +41,7 @@ fail=0
rm -ir d < in > out 2>&1 || fail=1
# The following loses with Tru64's sed, since that sed mistakenly
# tacks a newline onto the end of the file.
tr '?' '\012' < out |sed 's/^ //' > o2
tr '?' '\n' < out |sed 's/^ //' > o2
mv o2 out
# Make sure it's been removed.