You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* cp can copy multiple files to a destination
* It is not an error for the user to type "n" to not clobber an existing file when running (cp -i)
* Previously if I type "n" cp will exit with a failure code and ignore the remaining files I want to copy
%mkdir dest && perl cp -v a.c ar dest && perl cp -i a.c ar dest
a.c -> dest/a.c
ar -> dest/ar
overwrite dest/a.c? (y/n [n]) [n] n
overwrite dest/ar? (y/n [n]) [n] y
%echo $?
0
0 commit comments