summaryrefslogtreecommitdiff
path: root/bin/ln
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1998-05-15 06:19:05 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1998-05-15 06:19:05 +0000
commit2a170595d1bfe61ca9bdfe51206f5e43e3af1f40 (patch)
tree9c291cd1e9f3760500c8b0516fb24eed58935bc4 /bin/ln
parent63e7e54aa479045caa961baf7856aedec70a32e8 (diff)
downloadsrc-test2-2a170595d1bfe61ca9bdfe51206f5e43e3af1f40.tar.gz
src-test2-2a170595d1bfe61ca9bdfe51206f5e43e3af1f40.zip
Notes
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 5294fbf6a688..586401bbff8d 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 13fa3a8111c5..94e0c06f1eaf 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>