Micah Cowan wrote: > Michael Gorbovitski wrote: >> chmod --help >> results in : >> help for chmod >> ...... >> Each MODE is of the form `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'. > >> Report bugs to <bug-coreutils@gnu.org>. > > >> The above regular expression is unparsable by most people requesting the >> help. > > Heartily agreed. Ugly and unnecessary, IMO. > > Besides, we already have an at least marginally easier-to-grok version > further up: [ugoa...][[+-=][rwxXstugo...]...][,...]. Though I'm not sure > this shouldn't go, either. > Leaving it in is not that bad, in my opinion. I would just want a common example there, something along the lines of:
To let everyone (the 'w'orld) 'r'ead the file foo, use the command chmod w+r foo Maybe 1 or 2 examples, and 3-4 lines exaplaining w,r,x,X and a,u, and g. Maybe even omit X and g, as they are much more rarely used. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils