joerg
91a9a1c98b
Remove physical markup.
2009-03-24 00:10:58 +00:00
lukem
2fe2731d3f
Remove the \n and tabs from the __COPYRIGHT() strings.
2008-07-20 00:52:39 +00:00
wiz
fe8b349524
Add xref to chflags(1). From Andre Luiz de Oliveira in PR 32265.
2005-12-09 20:27:02 +00:00
christos
037f0a7b03
Now that setmode() is fixed, handle errors with err instead errx.
2005-10-01 20:09:18 +00:00
jschauma
420b2ac8ff
Remove unused code left over from temporary printescaped functionality.
...
Noted by Jeff Ito in PR bin/23967.
2004-01-04 03:34:00 +00:00
jschauma
6a75fbb636
Following private discussion with kleink@ and hubertf@ and public discussion
...
on tech-userlevel@, back out printescaped() functionality.
kleink: ``We sell rope.''
2003-09-14 19:20:16 +00:00
agc
b5b2954259
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
jschauma
458ed23412
As discusses a little while back on tech-userlevel:
...
If stdout is a tty, use vis(3) to print any filenames to prevent garbage
from being printed if the filename contains control- or other non-printable
characters.
While here, sprinkle some EXIT_FAILURE and NOTREACHED where appropriate.
2003-08-04 22:31:21 +00:00
enami
0f89e811e5
Start new paragraph after options are listed.
2003-01-20 03:10:38 +00:00
bjh21
525b050279
Align default behaviour of chmod, chgrp, chown, and chflags with symlink(7),
...
IEEE 1003.1-2001 (where applicable) and other systems, by follwoing symlinks
on the command line and changing their targets' modes/ownership/flags, rather
than ignoring them.
This fixes PR standards/563 (at last).
2002-07-07 11:44:02 +00:00
bjh21
28ac946ca2
Fix a comment: POSIX doesn't specify -h.
2002-05-31 18:54:01 +00:00
ross
dc5571b22e
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:21:55 +00:00
wiz
94eea247e1
Sort sections, drop unnecessary .Pps.
2001-12-20 20:01:15 +00:00
wiz
516b44de0a
ANSIfy, use {s,g}etprogname and other KNF. Patch by Petri Koistinen.
2001-09-16 12:16:20 +00:00
bjh21
80c66bd7d3
The "X" permission _is_ specified by POSIX.2.
2000-10-14 18:45:03 +00:00
enami
17c8af2ff2
Printing argv[0] on fts_open failure doesn't make sense. Just print
...
``fts_open'' instead.
2000-10-10 14:41:59 +00:00
enami
d67a90e658
Remove a hack to prevent unwanted gcc -Wuninitialized warning; it's now
...
unnecessary since the code path is simple enough after rev. 1.21.
2000-09-06 13:37:14 +00:00
kleink
2caf6aacdd
For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
...
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
hubertf
1cb54f68ac
Add 'RETURN VALUE' section header.
2000-08-28 02:11:04 +00:00
itojun
127c71b0b1
do not pass user-supplied string alone, to errx?(). use "%s".
...
from openbsd.
2000-07-07 11:54:57 +00:00
enami
e91af3b888
Sync wi/ what mdoc.samples(7) says:
...
- The default argument of Ar macro is file ...
- Use or Ap ing.
2000-02-05 11:39:16 +00:00
mycroft
a3db771521
Oops; remove unused variables.
2000-01-20 02:50:54 +00:00
mycroft
9f93f79f25
Just use setmode(3); don't special-case numeric values.
2000-01-20 02:49:41 +00:00
mycroft
9dc385beb1
Delint.
1998-07-28 05:31:22 +00:00
mycroft
a05983be3a
Delint.
1998-07-28 04:12:10 +00:00
mycroft
29bf463dcb
Delint.
1998-07-28 04:01:03 +00:00
enami
c3872193cf
Fix .Nm usage.
1997-10-20 08:50:59 +00:00
enami
c0be646f99
Add -h to usage.
1997-10-11 03:11:04 +00:00
enami
924ad60a71
Document -h flag, option to manupilate symbolic link.
1997-10-06 13:41:30 +00:00
enami
16747b0e7b
Change noop option -h to do the real work. Now mode of symbolic link
...
is changed if -h option is given.
1997-10-06 13:37:34 +00:00
enami
5194aa7294
Don't pass the pathname itself as format string of warn(). Instead,
...
use "%s".
1997-10-06 08:25:10 +00:00
christos
23edbe3557
Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
...
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00
thorpej
553c5b7377
Build with WARNS.
1997-07-20 04:51:31 +00:00
thorpej
85a7e9878b
- Use __COPYRIGHT() and __RCSID().
...
- Fix compiler warnings.
1997-07-20 04:51:02 +00:00
kleink
52a3f39615
POSIX.2 utilities must call setlocale(LC_ALL, "");
1997-06-26 23:18:05 +00:00
pk
6d865e0768
Use .Xr (from PR#3627)
1997-06-23 20:30:24 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
mycroft
71dcdbe0d4
Change directory permissions in pre-order.
1995-01-15 05:50:26 +00:00
mycroft
691f8c4267
Need limits.h.
1994-09-20 04:08:23 +00:00
mycroft
a7a0533596
Merge with 4.4-Lite.
1994-09-20 04:07:01 +00:00
cgd
84a5ff8d13
don't barf over strange mode specs
1994-02-11 02:57:24 +00:00
cgd
b106f6f657
add some info about u, g, o perm specs
1994-02-10 23:23:08 +00:00
jtc
e04c8e0705
Fix spelling errors.
1994-01-11 02:10:48 +00:00
mycroft
54bfcbbbca
Incorporate new version from uunet, with local changes.
1993-08-06 01:52:36 +00:00
deraadt
ec2040d768
change for new fts library
1993-08-05 23:59:25 +00:00
mycroft
a579b792ce
Add RCS identifiers.
1993-08-01 18:59:54 +00:00
mycroft
b1bd4afedc
Add RCS indentifiers.
1993-08-01 07:42:49 +00:00
mycroft
1b9ce7ae24
Add RCS identifiers.
1993-08-01 05:47:31 +00:00
deraadt
032eb3553c
chmod.0 says:
...
Symbolic links are not indirected through, nor are their modes altered.
things were much worse. it would try to chmod() symbolic links, in some cases
applying the modes of the symbolic link to the file that it pointed to.
1993-06-07 17:34:40 +00:00
cgd
06be60083d
changed "Id" to "Header" for rcsids
1993-03-23 00:22:59 +00:00