From c4d26d7f835032c231da4c6219c73b2679691222 Mon Sep 17 00:00:00 2001 From: charnier Date: Wed, 6 May 1998 06:51:42 +0000 Subject: Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc. --- bin/chmod/chmod.1 | 10 +++++----- bin/chmod/chmod.c | 7 ++++--- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'bin/chmod') diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1 index de38e1e..57a0469 100644 --- a/bin/chmod/chmod.1 +++ b/bin/chmod/chmod.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)chmod.1 8.4 (Berkeley) 3/31/94 -.\" $Id: chmod.1,v 1.7 1997/02/22 14:01:29 peter Exp $ +.\" $Id: chmod.1,v 1.8 1997/11/13 00:28:47 julian Exp $ .\" .Dd March 31, 1994 .Dt CHMOD 1 @@ -51,7 +51,7 @@ .Ar file ... .Sh DESCRIPTION The -.Nm chmod +.Nm utility modifies the file mode bits of the listed files as specified by the .Ar mode @@ -82,7 +82,7 @@ Symbolic links do not have modes, so unless the or .Fl L option is set, -.Nm chmod +.Nm on a symbolic link always succeeds and has no effect. The .Fl H , @@ -99,7 +99,7 @@ Only the owner of a file or the super-user is permitted to change the mode of a file. .Pp The -.Nm chmod +.Nm utility exits 0 on success, and >0 if an error occurs. .Sh MODES Modes may be absolute or symbolic. @@ -289,7 +289,7 @@ option for the naughty bits. .Xr chown 8 .Sh STANDARDS The -.Nm chmod +.Nm utility is expected to be .St -p1003.2 compatible with the exception of the diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index 6d61ca4..91c2252 100644 --- a/bin/chmod/chmod.c +++ b/bin/chmod/chmod.c @@ -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: chmod.c,v 1.8 1997/02/22 14:01:30 peter Exp $ */ #ifndef lint @@ -40,10 +38,13 @@ static char const copyright[] = #endif /* not lint */ #ifndef lint +#if 0 static char const sccsid[] = "@(#)chmod.c 8.8 (Berkeley) 4/1/94"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ -#include #include #include -- cgit v1.1