]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Use tr's \n notation rather than \012.
authorJim Meyering <jim@meyering.net>
Wed, 14 May 2003 06:25:08 +0000 (06:25 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 14 May 2003 06:25:08 +0000 (06:25 +0000)
tests/rm/rm5

index fae3d3151342f081262fd13db0b0c0401fe6ac80..91715ae75b7aeefd2aaaef34df0bf26acf98b7de 100755 (executable)
@@ -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.