[hackers] [sbase] Add mandoc-manpage for link(1) || FRIGN
commit 0bb5f5f45352a4011627ed71d222a224e504669a
Author: FRIGN <dev_AT_frign.de>
Date: Sun Jan 25 22:44:47 2015 +0100
Add mandoc-manpage for link(1)
and mark it as finished in the README.
diff --git a/README b/README
index 1a6c9bd..e076ee6 100644
--- a/README
+++ b/README
_AT_@ -36,7 +36,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support,
=* head yes none
= hostname non-posix none
=* kill yes none
-= link yes none
+=* link yes none
= ln yes none
=* logger yes none
= logname yes none
diff --git a/link.1 b/link.1
index bcab529..1d3cea4 100644
--- a/link.1
+++ b/link.1
_AT_@ -1,14 +1,18 @@
-.TH LN 1 sbase\-VERSION
-.SH NAME
-link \- create a hard link by calling the link function
-.SH SYNOPSIS
-.B link
-.I target
-.I linkname
-.P
-.SH DESCRIPTION
-.B link
-creates a hard link to a given file, with the given name.
-.SH SEE ALSO
-.IR ln (1),
-.IR link (2)
+.Dd January 25, 2015
+.Dt LINK 1 sbase\-VERSION
+.Sh NAME
+.Nm link
+.Ar target
+.Ar name
+.Sh DESCRIPTION
+.Nm
+creates a hard link
+.Ar name
+to
+.Ar target .
+.Sh STANDARDS
+The
+.Nm
+utility is compliant with the
+.St -p1003.1-2008
+specification.
diff --git a/link.c b/link.c
index 21ab332..d2ae634 100644
--- a/link.c
+++ b/link.c
_AT_@ -10,7 +10,7 @@ main(int argc, char *argv[])
argv0 = argv[0];
if (argc != 3)
- eprintf("usage: %s target linkname\n", argv0);
+ eprintf("usage: %s target name\n", argv0);
if (link(argv[1], argv[2]) < 0)
eprintf("link:");
return 0;
Received on Tue Mar 24 2015 - 23:53:18 CET
This archive was generated by hypermail 2.3.0
: Wed Mar 25 2015 - 00:03:46 CET