correct use of .Nm. Add rcsid.

This commit is contained in:
Philippe Charnier 1998-05-15 06:23:45 +00:00
parent 542ed50153
commit 06f628852a
2 changed files with 9 additions and 7 deletions

View File

@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)mkdir.1 8.2 (Berkeley) 1/25/94
.\" $Id$
.\" $Id: mkdir.1,v 1.6 1997/02/22 14:04:08 peter Exp $
.\"
.Dd January 25, 1994
.Dt MKDIR 1
@ -47,7 +47,7 @@
.Op Fl m Ar mode
.Ar directory_name ...
.Sh DESCRIPTION
.Nm
.Nm Mkdir
creates the directories named as operands, in the order specified,
using mode
.Li rwxrwxrwx (\&0777)
@ -81,13 +81,13 @@ permission for the owner.
.Pp
The user must have write permission in the parent directory.
.Pp
.Nm
.Nm Mkdir
exits 0 if successful, and >0 if an error occurred.
.Sh SEE ALSO
.Xr rmdir 1
.Sh STANDARDS
The
.Nm mkdir
.Nm
utility is expected to be
.St -p1003.2
compatible.

View File

@ -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: mkdir.c,v 1.9 1997/03/28 15:24:25 imp Exp $
*/
#ifndef lint
@ -40,7 +38,11 @@ static char const copyright[] =
#endif /* not lint */
#ifndef lint
static char const sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
#if 0
static char sccsid[] = "@(#)mkdir.c 8.2 (Berkeley) 1/25/94";
#endif
static const char rcsid[] =
"$Id$";
#endif /* not lint */
#include <sys/types.h>