mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 00:13:04 +01:00
Correct use of .Nm. Add rcsid.
This commit is contained in:
parent
63e7e54aa4
commit
2a170595d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36046
12
bin/ln/ln.1
12
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 .
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user