freebsd-skq/bin/mv
eadler 5649923ed0 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