1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-03 06:45:37 -08:00
Commit Graph

35 Commits

Author SHA1 Message Date
schwarze
1245b84dd8 Stop trying to deprecate "test -L" in favour of "test -h" (or vice versa).
It's hopeless because POSIX requires both since Issue 6 (2001).
Both always worked on OpenBSD, no matter which base system shell was used.

According to research done by jsg@, it seems likely that actually,
"test -L" has precedence over "test -h" by about one year:
v8 (Feb 1985) had -L, SunOS 3.0 (Feb 1986) had -h; but SVR4 (1989)
already had both, so we are talking about 35 years of petrification.
More details: https://marc.info/?l=openbsd-bugs&m=171867441927989

Resolving a question raised by Tim dot theCHASEs dot com on bugs@.
OK deraadt@ millert@ jsg@ jmc@  and also works for Tim Chase.
2024-06-18 16:41:39 +00:00
op
ef9fc2e540 test: fix description of -t: it has no default
-t always requires the fd number as argument, there's no default.  With
only one argument -t is equivalent to `test -n -t' and so banally always
true.

diff from Lucas (lucas [at] sexy [dot] is)
ok millert@
2023-06-10 07:19:39 +00:00
schwarze
b35d111eab Add, correct, and improve HISTORY sections.
From Sevan Janiyan <venture37 at geeklan dot co dot uk>.
Verified using http://minnie.tuhs.org/.
2016-08-16 18:51:25 +00:00
jmc
d77b518085 add [ to NAME, and document it; the NAME addition was
proposed by ingo a while back but never got committed;

ok schwarze
2015-11-06 21:56:46 +00:00
jmc
b13424099d -a, -o, and () are marked by posix as obsolete; the finer details are
left to the user to investigate, on guenther's advice;

ok guenther
2014-06-03 20:26:37 +00:00
jmc
fdcc147abe fix markup: (expression) -> ( expression )
confirmed by and ok sobrado

fix comes from jilles@freebsd, -r1.30
2010-09-11 20:54:22 +00:00
jmc
59a5f2b984 add an EXIT STATUS section for /bin; 2010-09-03 09:53:20 +00:00
jmc
f7cb311808 more consistent text for our return values; from daniel dickman 2010-07-21 19:42:20 +00:00
jmc
8025da8225 "fix" SYNOPSIS: whilst it still formats incorrectly, apparently
kristaps will fix this soon;

from Christian Brueffer
2010-05-13 05:50:35 +00:00
jmc
99332e389a bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;
2009-02-08 17:15:08 +00:00
jmc
d406b0bb9a i saw the previous was wrong as soon as i committed it: put the
built-in blurb in STANDARDS; we did once have a COMPATIBILITY section
which we merged with STANDARDS, so i think this is appropriate. it
certainly feels better than adding single sentences randomly to the
end of text bodies.
2009-01-06 23:56:18 +00:00
jmc
b34770f952 - rearrange the text to read a little more sanely
- use standard Ds argument to list width
2009-01-06 23:43:08 +00:00
jmc
ab7e6c463d document, consistently, those apps which also exist as built-ins
on certain shells; do not try to document changes between the
implementations, but at least warn of their existence;

diff from Ingo Schwarze
2009-01-06 23:29:02 +00:00
jmc
9490d37cb6 convert to new .Dd format; 2007-05-31 19:19:00 +00:00
jmc
0f3f4dbc30 - consistent STANDARDS blurb
- note which options are extensions to POSIX

discussed w/ deraadt otto millert
2007-05-29 15:04:59 +00:00
jmc
2bdd6c0a35 order options; from Igor Sobrado 2007-02-21 16:44:44 +00:00
jmc
6db4d1fcef remove a raft of unneccessary escapes; from ru@freebsd 2006-12-15 12:09:18 +00:00
jmc
afee87bc52 use .Pq rather than .Po/.Pc; 2005-03-07 23:01:40 +00:00
jmc
2b3774264d encourage people to use -h rather than -L;
document -L as compatibility option;
slight sync with NetBSD description;

ok otto@ millert@
2003-11-21 09:04:51 +00:00
jmc
d121aedf78 kill comma splice; from Jared Yanovich; 2003-11-20 11:00:18 +00:00
millert
29295d1c5c Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.
2003-06-02 23:27:43 +00:00
david
314b4a9e54 spelling errors/typos
ok jmc@
2003-03-07 06:30:38 +00:00
mpech
e0709f3207 Delete dublicate entry. Different patch from dfa@solo.ee applied.
millert@ ok
2002-06-06 15:30:50 +00:00
aaron
238a6a0e74 Add a note saying symbolic links are followed for all primaries except -L
and -h; millert@ok
2000-05-26 14:52:38 +00:00
aaron
8c9265831a Remove hard sentence breaks. 2000-03-17 18:15:11 +00:00
aaron
cdba08733a start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@ 1999-06-04 02:45:11 +00:00
aaron
f11c8a1845 start killing redundant .Nm macro arguments (mandoc ``remembers'' the first one
it's given)
1998-11-28 03:20:31 +00:00
aaron
887b99f662 typos 1998-09-19 14:40:26 +00:00
aaron
f81d96df0b First complete sweep of man pages, bin/. Command/function names previously
(incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS
cleanups, other miscellaneous typos.
1998-09-14 22:13:34 +00:00
aaron
4feec33d42 More man page fixes. Particularly fix uses of it's/its, affect/effect,
then/than and such. Other miscellaneous problems fixed across these source
files.
1998-09-07 16:44:32 +00:00
deraadt
53b1ba0d0c doc [ expr ] notation; he@vader.runit.sintef.no 1997-06-06 11:08:20 +00:00
millert
b1525cdbdd sh-based TEST suite and man page clarifications from FreeBSD 1997-01-23 17:42:52 +00:00
deraadt
09e94acb64 update rcsid 1996-06-23 14:18:58 +00:00
deraadt
dd8ee1de20 document -h flag; from windsor@punk.hedgehog.com, netbsd pr#1740 1995-11-13 04:22:38 +00:00
deraadt
df930be708 initial import of NetBSD tree 1995-10-18 08:37:01 +00:00