From: Dave Mitchell Date: Sat, 24 Jul 2004 10:00:27 +0000 (+0000) Subject: document that -i messes soft as well hard hard links. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0cb0633f672fc6005f4c2ac2d095ce9b3152b1a4;p=p5sagit%2Fp5-mst-13.2.git document that -i messes soft as well hard hard links. p4raw-id: //depot/perl@23160 --- diff --git a/pod/perlrun.pod b/pod/perlrun.pod index be366f8..e99729e 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -534,8 +534,8 @@ folks use it for their backup files: $ perl -pi~ -e 's/foo/bar/' file1 file2 file3... Note that because B<-i> renames or deletes the original file before -creating a new file of the same name, UNIX-style hard links will not be -preserved. +creating a new file of the same name, UNIX-style soft and hard links will +not be preserved. Finally, the B<-i> switch does not impede execution when no files are given on the command line. In this case, no backup is made