summaryrefslogtreecommitdiffstats
path: root/bin/ln
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-05-15 06:19:05 +0000
committercharnier <charnier@FreeBSD.org>1998-05-15 06:19:05 +0000
commit233c097df43deefae4388ec71ce63f4f00e7ae54 (patch)
treed0c7485f781c062c3c6188f6b73030f71679ddbd /bin/ln
parentdeddb75e129698b937bf8f5df5f2ae7252f0622e (diff)
downloadFreeBSD-src-233c097df43deefae4388ec71ce63f4f00e7ae54.zip
FreeBSD-src-233c097df43deefae4388ec71ce63f4f00e7ae54.tar.gz
Correct use of .Nm. Add rcsid.
Diffstat (limited to 'bin/ln')
-rw-r--r--bin/ln/ln.112
-rw-r--r--bin/ln/ln.c8
2 files changed, 11 insertions, 9 deletions
diff --git a/bin/ln/ln.1 b/bin/ln/ln.1
index 5294fbf..586401b 100644
--- a/bin/ln/ln.1
+++ b/bin/ln/ln.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)ln.1 8.2 (Berkeley) 12/30/93
-.\" $Id$
+.\" $Id: ln.1,v 1.5 1997/02/22 14:03:48 peter Exp $
.\"
.Dd December 30, 1993
.Dt LN 1
@@ -52,7 +52,7 @@
.Op target_dir
.Sh DESCRIPTION
The
-.Nm ln
+.Nm
utility creates a new directory entry (linked file) which has the
same modes as the original file.
It is useful for maintaining multiple copies of a file in many places
@@ -75,7 +75,7 @@ Create a symbolic link.
.El
.Pp
By default
-.Nm ln
+.Nm
makes
.Em hard
links.
@@ -99,7 +99,7 @@ call may be used to read the contents of a symbolic link.
Symbolic links may span file systems and may refer to directories.
.Pp
Given one or two arguments,
-.Nm ln
+.Nm
creates a link to an existing file
.Ar source_file .
If
@@ -113,7 +113,7 @@ to the last component of
.Ar source_file .
.Pp
Given more than two arguments,
-.Nm ln
+.Nm
makes links in
.Ar target_dir
to all the named source files.
@@ -127,6 +127,6 @@ The links made will have the same name as the files being linked to.
.Xr symlink 7
.Sh HISTORY
A
-.Nm ln
+.Nm
command appeared in
.At v1 .
diff --git a/bin/ln/ln.c b/bin/ln/ln.c
index 13fa3a8..94e0c06 100644
--- a/bin/ln/ln.c
+++ b/bin/ln/ln.c
@@ -29,8 +29,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $Id: ln.c,v 1.10 1997/03/28 15:24:22 imp Exp $
*/
#ifndef lint
@@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
-static char const sccsid[] = "@(#)ln.c 8.2 (Berkeley) 3/31/94";
+#if 0
+static char sccsid[] = "@(#)ln.c 8.2 (Berkeley) 3/31/94";
+#endif
+static const char rcsid[] =
+ "$Id$";
#endif /* not lint */
#include <sys/param.h>
OpenPOWER on IntegriCloud