]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Use --reply=no rather than -i.
authorJim Meyering <jim@meyering.net>
Sat, 30 Mar 2002 15:18:54 +0000 (15:18 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 30 Mar 2002 15:18:54 +0000 (15:18 +0000)
The latter depends on whether stdin is a tty.

tests/mv/i-link-no

index 6a602837c20510516820e0d11881cde3b4ec223d..f02614ef6725615f205c0ccf0e72b7710245925b 100755 (executable)
@@ -32,7 +32,7 @@ fi
 
 fail=0
 
-mv -i a/bar a/foo b < no 2> err > out || fail=1
+mv ---reply=no a/bar a/foo b < no 2> err > out || fail=1
 cat <<EOF > exp
 EOF