[cs631apue] copying a file to itself

mseaton mseaton at stevens.edu
Wed Sep 14 00:55:13 EDT 2016


The standard version of cp does not allow copying a file to itself in 
the same directory, that is cp file1 file1. The system says the source 
and destination are the same. Should our code behave in this manner?
Marlon


More information about the cs631apue mailing list