From 233c097df43deefae4388ec71ce63f4f00e7ae54 Mon Sep 17 00:00:00 2001 From: charnier Date: Fri, 15 May 1998 06:19:05 +0000 Subject: Correct use of .Nm. Add rcsid. --- bin/ln/ln.1 | 12 ++++++------ bin/ln/ln.c | 8 +++++--- 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 -- cgit v1.1