Cactus: suppress interaction when using mv in make files
Roland Haas
Branch: rhaas/mv
rhaas/mv
Branch: master
master
Declined
#48 · Created  · Last updated
Declined pull request
Wontfix in trac ticket.
Closed by: Roland Haas·2018-10-16
Description
POSIX requires (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/mv.html) that mv "hall write a prompt to standard error and read a line from standard input. If the response is not affirmative, mv shall do nothing more with the current source_file and go on to any remaining source_files." which is annoying if the operation is something like "mv foo.tmp foo".
Worse, some centers make "mv" behave as "mv -i" ie it asks about every single overwrite unless -f is also given.
POSIX requires (http://pubs.opengroup.org/onlinepubs/9699919799/utilities/mv.html) that mv "hall write a prompt to standard error and read a line from standard input. If the response is not affirmative, mv shall do nothing more with the current source_file and go on to any remaining source_files." which is annoying if the operation is something like "mv foo.tmp foo".
Worse, some centers make "mv" behave as "mv -i" ie it asks about every single overwrite unless -f is also given.