1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/bin/mv
Eitan Adler b7d1b37159 Follow the behavior as specified in POSIX:
if (exists AND (NOT f_option) AND
	((not_writable AND input_is_terminal) OR i_option))
		prompt

in particular, add the test for input_is_terminal

PR:		bin/173039
Submitted by:	Mark Johnston <markjdb@gmail.com>
Approved by:	cperciva
MFC after:	3 days
2012-11-15 15:05:51 +00:00
..
Makefile
mv.1 Add a -h flag similar to the -h flag for ln to force mv(1) to treat a 2012-08-31 14:35:01 +00:00
mv.c Follow the behavior as specified in POSIX: 2012-11-15 15:05:51 +00:00