1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00
Commit Graph

79 Commits

Author SHA1 Message Date
schwarze
4da37b8eba Unify wording for LC_CTYPE in ENVIRONMENT:
* Consistently use "character encoding locale" as suggested by stsp@.
* Resolve various gratuitious wording variations.
OK jmc@.
2016-10-24 13:46:58 +00:00
jmc
b4f1a09cff it seems we hyphenate it set-group-id;
from daniel bolgheroni
2016-09-08 05:52:19 +00:00
schwarze
3a0c2a3aec fix HISTORY; from Sevan Janiyan <venture37 at geeklan dot co dot uk>;
checked with http://minnie.tuhs.org/cgi-bin/utree.pl?file=V1/man/man1
2016-08-10 19:46:43 +00:00
jmc
bd58ad097a simplify previous; ok bentley 2016-03-17 07:18:33 +00:00
bentley
7220d8ecee Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom.
Previously behaviors were all over the map. This changes them to
use COLUMNS first, and either terminal width or a hardcoded value
(typically 80) as appropriate.

ok deraadt@; man bits ok jmc@
2016-03-17 05:27:10 +00:00
bentley
23ebb1e26d Mark up COLUMNS as an environment variable.
ok jmc@ schwarze@
2016-03-11 02:35:57 +00:00
schwarze
b6203726b0 Support UTF-8: use wcwidth(3) for column adjustment and replace
non-printable Unicode codepoints and invalid bytes with ASCII
question marks.  No change for the SMALL version.

Using ideas developed by tedu@, phessler@, bentley@ and feedback from many.
OK yasuoka@ czarkoff@ sthen@.
2015-12-01 18:36:13 +00:00
sobrado
49e12f67e4 improve wording.
ok jmc@
2015-04-24 10:57:36 +00:00
jmc
7f5741cefc slightly reword -f; ok sobrado schwarze 2014-04-01 16:43:16 +00:00
sobrado
cad8a15cb1 restore the traditional behavior of -f implying -a; apparently Keith Bostic
forgot to restore it when the -f flag was put back on 2nd of September 1989,
after being removed on 16th of August as a consequence of issues getting it
working over NFS, so deviation from traditional UNIX behavior in all BSDs
looks like an historical accident; as a side effect, this change accommodates
behavior of this option to IEEE Std 1003.1-2008 (``POSIX.1'').

joint work with jmc@ (who found the inaccuracy in our implementation),
schwarze@ (who provided a detailed tracking of historical facts) and millert@

ok millert@, schwarze@
2014-03-31 20:54:37 +00:00
jmc
a0eee1efa3 revert previous: i was wrong;
thanks thomas klausner for noticing
2014-03-31 07:06:20 +00:00
jmc
38f6e38cd4 a pesky comma rendered the text describing how output is sorted relevant
only to the "if more than one operand is given" scenario; replace it
with a full stop and start a new paragraph;

ok millert
2014-03-30 07:26:12 +00:00
jmc
e8de5af14c expand STANDARDS somewhat; ok millert 2014-03-28 18:33:26 +00:00
jmc
dc2cf4e428 use the same format/text, as far as possible, for date strings;
help/ok guenther millert
2011-08-31 08:48:40 +00:00
jmc
9f9ed71fc5 fix description of -g; from Pascal Stumpf 2011-03-05 15:57:03 +00:00
jmc
923c3fdea0 tweak; ok okan 2011-03-05 15:46:02 +00:00
okan
9079317df9 add support for the (POSIX) -H flag
feedback and ok millert@, sobrado@, jmc@
2011-03-04 21:03:19 +00:00
jmc
59a5f2b984 add an EXIT STATUS section for /bin; 2010-09-03 09:53:20 +00:00
jmc
609f1f5e03 - more opaque removal
- sort the flags list while here

ok martynas tedu
2009-08-21 07:11:01 +00:00
sobrado
679f6f8f47 replace ".Ar file ..." with ".Ar" whenever possible.
ok jmc@
2009-08-16 09:41:07 +00:00
jmc
45b7d3e1f6 remove a sentence from COLUMNS that says nothing; ok otto 2009-05-12 19:22:32 +00:00
jmc
c2608f173f updates to IEEE Std 1003.1-2008; 2009-02-08 17:33:01 +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
3f0f91116e remove some duplicate information from the description of -g: this
information is already provided further down the page;

ok sobrado
2009-01-28 11:50:51 +00:00
sobrado
e4281b20e6 replace standardized text concerning the exit values of applications
with the right mdoc macros.
2009-01-19 09:46:59 +00:00
jmc
db1c076965 more updates on which args do and do not mix (doc only, this time):
- list -f in the -cStu "exclusive group" (we already document that -f
overrides these options)
- note that our implementation of -f differs from posix
- -k and -u do not override each other: those options are not used together

ok sobrado
2008-09-29 16:42:41 +00:00
jmc
a40a3c37ed - make -ln and -nl combinations behave identically. currently -l overrides -n.
behaviour now similar to netbsd/freebsd/solaris.

- make -gn and -ng combinations behave identically: long listing, numeric
group ID, no user ID. currently -g overrides -n. behaviour now similar to
netbsd/solaris.

- allow -m and -x to override -1Cgln (and each other) if specified last.
currently -m and -x can be overriden even if they are specified last.
behaviour now similar to netbsd/freebsd. fixes PR 5785 from
Jacek Masiulaniec.

- update man page to reflect reality.

ls.c diff based on Jacek Masiulaniec's diff from PR 5785, and extended by
sobrado. this work is really a joint effort from sobrado and myself.
i don't know about igor, but this particular diff has nearly killed me...

ok millert otto
2008-09-04 15:44:41 +00:00
jmc
9490d37cb6 convert to new .Dd format; 2007-05-31 19:19:00 +00:00
jmc
8d7df9c085 note some flags which differ in behaviour from posix;
suggested by millert
2007-05-29 15:17:54 +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
63f8730006 small update, now that -g does something; ok millert 2007-05-08 13:36:34 +00:00
millert
947f7ba6d0 Change the -g flag from a no-op to be POSIX conforming. We allow the
-l flag to override -g regardless of its position on the command line
for backwards compat with 4.3BSD.  From NetBSD.
OK jmc@, tom@, sobrado@
2007-05-07 18:39:28 +00:00
jmc
fa97a36ead minor shuffle; from Igor Sobrado and myself 2007-03-03 23:26:12 +00:00
jmc
b3b0658ba3 timezone -> time zone 2005-11-30 11:18:27 +00:00
millert
0278adda01 remove whiteout support 2005-06-15 17:47:17 +00:00
jmc
b8d896800f - sort options
- sync usage()
- remove unnecessary quoting
2005-03-24 22:53:15 +00:00
jmc
7c8121b06d -l outputs total always, not just to terminals (netbsd -r 1.50);
-l output is one per line (like -1);
-x also inhibits one per line output;
2005-01-10 15:36:17 +00:00
millert
4457c27063 Use angle bracket macros instead of literal angle brackets. OK jmc@ 2004-09-16 20:48:35 +00:00
jaredy
ef7ec57435 move example descriptions before the examples themselves
ok jmc
2004-07-23 00:42:22 +00:00
jmc
498a23797f use POSIX description of -L, since it's much clearer;
ok henning@
2003-12-08 11:33:01 +00:00
jmc
c1ed470ca5 escape punctuation;
ok deraadt@
2003-09-02 18:09:43 +00:00
jmc
582c0f4f3d -l and -n options display owner, group and other permissions;
from Jonathan Gray via FreeBSD PR 54294;
2003-08-27 08:06:49 +00:00
tedu
91ea06e0c5 -h, human readable sizes. from a jonathon gray mail to tech@
ok ian@ millert@
2003-08-06 19:09:09 +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
jmc
e4c1364e33 - section reorder
- merge COMPATIBILITY into STANDARDS
- kill unneeded Ns macros
- replace reference to itself with .Nm
2003-05-29 19:36:58 +00:00
deraadt
cbab7b708a more .Li 2003-03-12 20:12:34 +00:00
mpech
f314c7103f Initial patch.
When you give command examples in a manual page prefix them with
	$ command
or
	# command

deraadt@ ok
2002-02-11 18:43:50 +00:00
mickey
bf0f8e2c1a fix the history refs 2002-01-24 20:33:45 +00:00
aaron
5cb47b198e Remove completely redundant introductory sentences in ENVIRONMENT sections. 2001-05-01 17:58:00 +00:00
aaron
e3085f41af - Some section shuffling: conform to the standard order documented in mdoc(7)
- .Sh AUTHOR -> .Sh AUTHORS
2000-11-09 23:58:53 +00:00