summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-07-24 10:00:27 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-07-24 10:00:27 +0000
commit0cb0633f672fc6005f4c2ac2d095ce9b3152b1a4 (patch)
treee512991177da99001c47927c9bf44bd2b4a25f76 /pod
parenta66b22caf4f0cb9d9cd0ec14a50f27dd54688a86 (diff)
downloadperl-0cb0633f672fc6005f4c2ac2d095ce9b3152b1a4.tar.gz
document that -i messes soft as well hard hard links.
p4raw-id: //depot/perl@23160
Diffstat (limited to 'pod')
-rw-r--r--pod/perlrun.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index be366f8afd..e99729e672 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