summaryrefslogtreecommitdiff
path: root/tests/mv/part-symlink
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-05-14 06:26:34 +0000
committerJim Meyering <jim@meyering.net>2003-05-14 06:26:34 +0000
commit01d63f13e81d0623d753d6521076c79d355d1921 (patch)
treec1965f26944090986585ef48750d58fb794a7ad4 /tests/mv/part-symlink
parent00a770a30e17ee037bff676b48390bdfff466187 (diff)
downloadcoreutils-01d63f13e81d0623d753d6521076c79d355d1921.tar.xz
Use tr's \n notation rather than \012.
Diffstat (limited to 'tests/mv/part-symlink')
-rwxr-xr-xtests/mv/part-symlink6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mv/part-symlink b/tests/mv/part-symlink
index 4bcef66e8..ccceee511 100755
--- a/tests/mv/part-symlink
+++ b/tests/mv/part-symlink
@@ -97,9 +97,9 @@ for copy in cp mv; do
# remove any site-dependent part of other-partition file name,
# and put brackets around the output.
test -s .err && {
- echo '[' | tr -d '\012'
+ echo '[' | tr -d '\n'
sed 's/^[^:][^:]*\(..\):/\1:/;s,'$other_partition_tmpdir/,, .err
- echo ']' | tr -d '\012'
+ echo ']' | tr -d '\n'
}
# Strip off all but the file names.
# Remove any site-dependent part of each file name.
@@ -146,7 +146,7 @@ for copy in cp mv; do
fi
done
fi
- ) | tr '\012' ' '
+ ) | tr '\n' ' '
echo
) | sed 's/ *$//'
cd ..