summaryrefslogtreecommitdiff
path: root/bin/ls
AgeCommit message (Collapse)Author
2006-04-13Change maxsize to type off_t.David Hill
Add a cast for portability's sake. "Right..." @deraadt
2005-11-30timezone -> time zoneJason McIntyre
2005-11-30another unused variable found by lintTheo de Raadt
2005-11-29kill unused var found by lint. ok deraadt@Otto Moerbeek
2005-11-25do not exit from ls_main() but return; spotted by lintTheo de Raadt
2005-06-15remove whiteout supportTodd C. Miller
2005-03-24- sort optionsJason McIntyre
- sync usage() - remove unnecessary quoting
2005-03-10use fts_path if fts_name is not available, tweak and ok millertJared Yanovich
2005-01-10Remove unneccesary cast to long long and %llu format; print using %lu.Otto Moerbeek
Spotted by tom@, ok millert@
2005-01-10-l outputs total always, not just to terminals (netbsd -r 1.50);Jason McIntyre
-l output is one per line (like -1); -x also inhibits one per line output;
2004-09-16Use angle bracket macros instead of literal angle brackets. OK jmc@Todd C. Miller
2004-07-23move example descriptions before the examples themselvesJared Yanovich
ok jmc
2004-04-02Unbreak alignment of fields when using -lh.Otto Moerbeek
ok deraadt@
2003-12-08use POSIX description of -L, since it's much clearer;Jason McIntyre
ok henning@
2003-09-26free(NULL) is validTheo de Raadt
2003-09-24realloc fixes: unallocate for next use if realloc fixes; do not incr size;Theo de Raadt
do not p = realloc(p, ...; ok from ho, cloder
2003-09-02escape punctuation;Jason McIntyre
ok deraadt@
2003-08-27-l and -n options display owner, group and other permissions;Jason McIntyre
from Jonathan Gray via FreeBSD PR 54294;
2003-08-06-h, human readable sizes. from a jonathon gray mail to tech@Ted Unangst
ok ian@ millert@
2003-07-29spacingTheo de Raadt
2003-07-02missing protosTheo de Raadt
2003-06-11ansification, art okTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-29- section reorderJason McIntyre
- merge COMPATIBILITY into STANDARDS - kill unneeded Ns macros - replace reference to itself with .Nm
2003-04-02strlcpy; millert okTheo de Raadt
2003-03-12more .LiTheo de Raadt
2002-08-01utmp.h not neededTheo de Raadt
2002-03-12o Remove local prototypes for group_from_gid() and user_from_uid()Todd C. Miller
since they are prototyped in grp.h and pwd.h. o Increase size of 'buf' to 21 since we store the string representation of a u_quad_t in it (max 20 chars + the NUL). o Minor KNF wrt pointers in boolean context. From Denis Afonin
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-11Initial patch.Mike Pechkin
When you give command examples in a manual page prefix them with $ command or # command deraadt@ ok
2002-01-24fix the history refsMichael Shalayeff
2001-09-06o) __progname aria;Mike Pechkin
millert@ ok.
2001-07-09-WallTheo de Raadt
2001-05-01Remove completely redundant introductory sentences in ENVIRONMENT sections.Aaron Campbell
2000-11-09- Some section shuffling: conform to the standard order documented in mdoc(7)Aaron Campbell
- .Sh AUTHOR -> .Sh AUTHORS
2000-11-09Change all option list specifications to ".Bl -tag -width Ds". Most manAaron Campbell
pages just needed their -width parameter tweaked to "Ds", which provides a nice width of 6 constant characters. For consistency more than anything.
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
existing EXAMPLES sections.
2000-07-23oops, what was i thinking?Eric Jackson
2000-07-23un .Xr chflagsEric Jackson
2000-07-19bye-byeMichael Shalayeff
2000-07-19new strtofflags/fflagstostrMichael Shalayeff
2000-04-19Change the second sentence a bit so it doesn't seem like you're reading theAaron Campbell
same thing twice; noticed by angelos@, but no beer for him yet. :-)
2000-04-15- For consistency, `super-user' -> `superuser' in all cases.Aaron Campbell
- Some punctuation fixes. - Some `id' -> `ID'.
2000-03-24Correct the HISTORY section to note that this command appeared in Version 5Aaron Campbell
of AT&T UNIX, not Version 6. Verified by strings(1)'ing a .dsk file (PDP-11 executable) containing the v5 sources, obtainable at gatekeeper.dec.com in the directory /pub/DEC/sim/software. Idea from NetBSD PR/4790.
2000-03-17Remove hard sentence breaks.Aaron Campbell
2000-01-06In multi-column output, don't bother filling up last column before '\n'.Marc Espie
As a result, we gain one extra position to format multi-column output, since there is no added space at the end of the last column. For instance, 26 long filenames now print in 3 columns instead of 2. At first, both millert@ and I thought that ending the line on the last column might trigger trouble on some terminals, but then I realized that current ls may already fill the last column with a space, with no apparent grief anywhere, and Todd agreed.
2000-01-05Document meaning of `p'-type file (FIFO) in long listing; FreeBSD PR/9117Aaron Campbell
2000-01-05Remove bogus chcnt assignments.Marc Espie
2000-01-05Perform colwidth computation sooner, as there's no need for randomMarc Espie
access if we end up doing one column output.
2000-01-05Factor column width computation out.Marc Espie