mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Use tr's \n notation rather than \012.
This commit is contained in:
1 parent
6fb0b1d366
commit
00a770a30e
1 file changed
+1
-1
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user