summaryrefslogtreecommitdiffstats
path: root/bin/ln
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>2000-08-17 16:09:27 +0000
committersheldonh <sheldonh@FreeBSD.org>2000-08-17 16:09:27 +0000
commitdded6137fc936ede7b68b40ecaf2dfa9e79a4463 (patch)
treed34c1f1e3bb101ba8d17be5d561b45035e2dcd0e /bin/ln
parent1c5470e606da102af54b9d6fb48a41a645c33026 (diff)
downloadFreeBSD-src-dded6137fc936ede7b68b40ecaf2dfa9e79a4463.zip
FreeBSD-src-dded6137fc936ede7b68b40ecaf2dfa9e79a4463.tar.gz
Fix style bugs and poor wording introduced in rev 1.12.
Submitted by: bde
Diffstat (limited to 'bin/ln')
-rw-r--r--bin/ln/ln.125
1 files changed, 17 insertions, 8 deletions
diff --git a/bin/ln/ln.1 b/bin/ln/ln.1
index 6120ae57..51d9892 100644
--- a/bin/ln/ln.1
+++ b/bin/ln/ln.1
@@ -72,19 +72,28 @@ to a file is one of the differences between a hard and symbolic link.
The options are as follows:
.Bl -tag -width flag
.It Fl f
-Unlink any already existing file, permitting the link to occur.
-The
+If the target file already exists,
+then unlink it so that the link may occur.
+(The
.Fl f
option overrides any previous
.Fl i
-options.
+options.)
.It Fl i
-Request confirmation before attempting to replace already existing file.
-The
+Cause
+.Nm
+to write a prompt to standard error if the target file exists.
+If the response from the standard input begins with the character
+.Sq Li y
+or
+.Sq Li Y ,
+then unlink the target file so that the link may occur.
+Otherwise, do not attempt the link.
+(The
.Fl i
option overrides any previous
.Fl f
-options.
+options.)
.It Fl s
Create a symbolic link.
.It Fl v
@@ -155,9 +164,9 @@ operation using the two passed arguments.
.Xr symlink 7
.Sh COMPATIBILITY
The
-.Fl v
-and
.Fl i
+and
+.Fl v
options are non-standard and their use in scripts is not recommended.
.Sh HISTORY
An
OpenPOWER on IntegriCloud