Merged with 4.4lite.

Changed to conform to NetBSD's new RCS Id convention.
This commit is contained in:
jtc 1994-11-17 07:39:34 +00:00
parent a8bfd3d17a
commit 88d0435bc7
6 changed files with 50 additions and 29 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.1 (Berkeley) 5/11/90
# $Id: Makefile,v 1.2 1993/07/30 22:30:54 mycroft Exp $
# $NetBSD: Makefile,v 1.3 1994/11/17 07:39:34 jtc Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= uudecode
NOMAN= noman

View File

@ -1,6 +1,8 @@
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved.
/* $NetBSD: uudecode.c,v 1.5 1994/11/17 07:39:35 jtc Exp $ */
/*-
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -31,9 +33,16 @@
* SUCH DAMAGE.
*/
char copyright[] =
"@(#) Copyright (c) 1983, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "from: @(#)uudecode.c 5.10 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: uudecode.c,v 1.4 1993/11/09 01:46:38 jtc Exp $";
#if 0
static char sccsid[] = "@(#)uudecode.c 8.2 (Berkeley) 4/2/94";
#endif
static char rcsid[] = "$NetBSD: uudecode.c,v 1.5 1994/11/17 07:39:35 jtc Exp $";
#endif /* not lint */
/*
@ -48,6 +57,7 @@ static char rcsid[] = "$Id: uudecode.c,v 1.4 1993/11/09 01:46:38 jtc Exp $";
#include <errno.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <pwd.h>
#include <unistd.h>
@ -55,11 +65,10 @@ static int decode();
static void usage();
char *filename;
/* ARGSUSED */
int
main(argc, argv)
int argc;
char **argv;
char *argv[];
{
int rval;

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.1 (Berkeley) 5/11/90
# $Id: Makefile,v 1.2 1993/07/30 22:30:45 mycroft Exp $
# $NetBSD: Makefile,v 1.3 1994/11/17 07:39:41 jtc Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= uuencode
MAN1= uuencode.0

View File

@ -1,5 +1,7 @@
.\" Copyright (c) 1980, 1990 The Regents of the University of California.
.\" All rights reserved.
.\" $NetBSD: uuencode.1,v 1.4 1994/11/17 07:39:42 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@ -29,10 +31,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)uuencode.1 6.9 (Berkeley) 4/23/91
.\" $Id: uuencode.1,v 1.3 1993/08/27 22:25:56 jtc Exp $
.\" @(#)uuencode.1 8.1 (Berkeley) 6/6/93
.\"
.Dd April 23, 1991
.Dd June 6, 1993
.Dt UUENCODE 1
.Os BSD 4
.Sh NAME

View File

@ -1,6 +1,8 @@
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved.
/* $NetBSD: uuencode.c,v 1.6 1994/11/17 07:39:43 jtc Exp $ */
/*-
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -31,9 +33,16 @@
* SUCH DAMAGE.
*/
char copyright[] =
"@(#) Copyright (c) 1983, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
/*static char sccsid[] = "from: @(#)uuencode.c 5.9 (Berkeley) 6/1/90";*/
static char rcsid[] = "$Id: uuencode.c,v 1.5 1993/11/09 01:47:00 jtc Exp $";
#if 0
static char sccsid[] = "@(#)uuencode.c 8.2 (Berkeley) 4/2/94";
#endif
static char rcsid[] = "$NetBSD: uuencode.c,v 1.6 1994/11/17 07:39:43 jtc Exp $";
#endif /* not lint */
/*
@ -56,7 +65,7 @@ static __dead void usage();
int
main(argc, argv)
int argc;
char **argv;
char *argv[];
{
struct stat sb;
int mode;

View File

@ -1,5 +1,7 @@
.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" All rights reserved.
.\" $NetBSD: uuencode.format.5,v 1.3 1994/11/17 07:39:45 jtc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
@ -29,12 +31,11 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" from: @(#)uuencode.format.5 6.4 (Berkeley) 5/10/91
.\" $Id: uuencode.format.5,v 1.2 1993/08/01 07:26:49 mycroft Exp $
.\" @(#)uuencode.format.5 8.2 (Berkeley) 1/12/94
.\"
.Dd May 10, 1991
.Dd January 12, 1994
.Dt UUENCODE 5
.Os BSD 4.0
.Os BSD 4
.Sh NAME
.Nm uuencode
.Nd format of an encoded uuencode file
@ -55,6 +56,7 @@ look like a header.
The header line is distinguished by having the first
6 characters
.Dq begin\ \&
(note the trailing space).
The word
.Em begin
is followed by a mode (in octal),
@ -96,7 +98,7 @@ on a line by itself.
.Xr mail 1
.Sh HISTORY
The
.Nm
.Nm uuencode
file format appeared in
.Bx 4.0 .
.\" It was named uuencode.5 prior to 4.3