rewritten from manual page; add Berkeley specific header
[unix-history] / usr / src / usr.sbin / chown / chgrp.1
index f07a475..667c640 100644 (file)
@@ -2,7 +2,7 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)chgrp.1     6.1 (Berkeley) %G%
+.\"    @(#)chgrp.1     6.3 (Berkeley) %G%
 .\"
 .TH CHGRP 1 ""
 .UC 5
 .\"
 .TH CHGRP 1 ""
 .UC 5
@@ -10,7 +10,9 @@
 chgrp \- change group
 .SH SYNOPSIS
 .B chgrp
 chgrp \- change group
 .SH SYNOPSIS
 .B chgrp
-[ -f -R ]
+[
+.B -Rf
+]
 group file ...
 .SH DESCRIPTION
 .I Chgrp
 group file ...
 .SH DESCRIPTION
 .I Chgrp
@@ -26,7 +28,7 @@ The user invoking
 must belong
 to the specified group and be the owner of the file, or be the super-user.
 .PP
 must belong
 to the specified group and be the owner of the file, or be the super-user.
 .PP
-No errors are reported when the
+No errors, except for usage errors, are reported when the
 .B \-f
 (force) option is given.
 .PP
 .B \-f
 (force) option is given.
 .PP
@@ -36,9 +38,7 @@ option is given,
 .I chgrp
 recursively descends its directory arguments
 setting the specified group-ID.
 .I chgrp
 recursively descends its directory arguments
 setting the specified group-ID.
-.SH FILES
-/etc/group
+When symbolic links are encountered, their group is changed,
+but they are not traversed.
 .SH "SEE ALSO"
 .SH "SEE ALSO"
-chown(2),
-passwd(5),
-group(5)
+chown(1), chown(2), passwd(5), group(5)