diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-07 17:47:58 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-09 21:50:08 +0100 |
commit | dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2 (patch) | |
tree | 5194ff517669cfb08a3ba329658b45870ab063bd /tests/mv/i-4 | |
parent | 50610144b02763f5dd5f6198ceceb88c27c393aa (diff) | |
download | coreutils-dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2.tar.xz |
tests: change `...' to '...' on lines not matching /[=\$]/
Exempt lines with '$' or '=', since those are prone to improper
conversion. Run this:
git grep -l "\`[^']*'" tests \
|xargs perl -pi -e '/[=\$]/ and next;s/\`([^'\''"]*?'\'')/'\''$1/g'
Diffstat (limited to 'tests/mv/i-4')
-rwxr-xr-x | tests/mv/i-4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mv/i-4 b/tests/mv/i-4 index b2222c778..5a95e9963 100755 --- a/tests/mv/i-4 +++ b/tests/mv/i-4 @@ -1,5 +1,5 @@ #!/bin/sh -# make sure `mv -i a b' does its job with a positive response +# make sure 'mv -i a b' does its job with a positive response # Copyright (C) 2001, 2005-2012 Free Software Foundation, Inc. @@ -32,9 +32,9 @@ case "`cat b`" in *) fail=1 ;; esac -# Ensure that mv -i a b works properly with `n' and `y' +# Ensure that mv -i a b works properly with 'n' and 'y' # responses, even when a and b are hard links to the same file. -# This `n' test would fail (no prompt) for coreutils-5.0.1 through 5.3.0. +# This 'n' test would fail (no prompt) for coreutils-5.0.1 through 5.3.0. echo n > n rm -f a b echo a > a |