summaryrefslogtreecommitdiff
path: root/usr.bin/patch
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-07-28 18:34:37 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-07-28 18:34:37 +0000
commitde05ac6eec33d6cf886405f881d77ff56b3a8306 (patch)
tree69cb044aa3af903eb76a6e94e6d5e89b7cfc5d87 /usr.bin/patch
parentec559c1821b51abc7ecefb78501bd64a76442ac6 (diff)
Be more exact on how backup files are handled.
ok millert@ tedu@
Diffstat (limited to 'usr.bin/patch')
-rw-r--r--usr.bin/patch/patch.16
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/patch/patch.1 b/usr.bin/patch/patch.1
index fd0a176cc05..9f2cfc4d5dd 100644
--- a/usr.bin/patch/patch.1
+++ b/usr.bin/patch/patch.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: patch.1,v 1.13 2003/07/28 16:13:53 millert Exp $
+.\" $OpenBSD: patch.1,v 1.14 2003/07/28 18:34:36 otto Exp $
.\" Copyright 1986, Larry Wall
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -51,14 +51,14 @@ The extension used for making backup files may also be specified in the
.Ev SIMPLE_BACKUP_SUFFIX
environment variable, which is overridden by the options above.
.Pp
-If the backup file already exists,
+If the backup file is linked to the original file,
.Nm
creates a new backup file name by changing the first lowercase letter
in the last component of the file's name into uppercase.
If there are no more lowercase letters in the name,
it removes the first character from the name.
It repeats this process until it comes up with a
-backup file that does not already exist.
+backup file that does not already exist or is not linked to the original file.
.Pp
You may also specify where you want the output to go with the
.Fl o