Correct use of .Nm. Add rcsid.

This commit is contained in:
Philippe Charnier 1998-05-15 06:19:05 +00:00
parent 63e7e54aa4
commit 2a170595d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36046
2 changed files with 11 additions and 9 deletions

View File

@ -33,7 +33,7 @@
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" @(#)ln.1 8.2 (Berkeley) 12/30/93 .\" @(#)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 .Dd December 30, 1993
.Dt LN 1 .Dt LN 1
@ -52,7 +52,7 @@
.Op target_dir .Op target_dir
.Sh DESCRIPTION .Sh DESCRIPTION
The The
.Nm ln .Nm
utility creates a new directory entry (linked file) which has the utility creates a new directory entry (linked file) which has the
same modes as the original file. same modes as the original file.
It is useful for maintaining multiple copies of a file in many places It is useful for maintaining multiple copies of a file in many places
@ -75,7 +75,7 @@ Create a symbolic link.
.El .El
.Pp .Pp
By default By default
.Nm ln .Nm
makes makes
.Em hard .Em hard
links. 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. Symbolic links may span file systems and may refer to directories.
.Pp .Pp
Given one or two arguments, Given one or two arguments,
.Nm ln .Nm
creates a link to an existing file creates a link to an existing file
.Ar source_file . .Ar source_file .
If If
@ -113,7 +113,7 @@ to the last component of
.Ar source_file . .Ar source_file .
.Pp .Pp
Given more than two arguments, Given more than two arguments,
.Nm ln .Nm
makes links in makes links in
.Ar target_dir .Ar target_dir
to all the named source files. 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 .Xr symlink 7
.Sh HISTORY .Sh HISTORY
A A
.Nm ln .Nm
command appeared in command appeared in
.At v1 . .At v1 .

View File

@ -29,8 +29,6 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * 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 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE. * SUCH DAMAGE.
*
* $Id: ln.c,v 1.10 1997/03/28 15:24:22 imp Exp $
*/ */
#ifndef lint #ifndef lint
@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */ #endif /* not lint */
#ifndef 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 */ #endif /* not lint */
#include <sys/param.h> #include <sys/param.h>