summaryrefslogtreecommitdiff
path: root/bin/ls
AgeCommit message (Collapse)Author
2011-03-05fix description of -g; from Pascal StumpfJason McIntyre
2011-03-05tweak; ok okanJason McIntyre
2011-03-04add support for the (POSIX) -H flagOkan Demirmen
feedback and ok millert@, sobrado@, jmc@
2010-09-12remove trailing spaces and tabs from source code; no binary change.Igor Sobrado
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-08-21- more opaque removalJason McIntyre
- sort the flags list while here ok martynas tedu
2009-08-16replace ".Ar file ..." with ".Ar" whenever possible.Igor Sobrado
ok jmc@
2009-05-12remove a sentence from COLUMNS that says nothing; ok ottoJason McIntyre
2009-05-06do not ignore COLUMNS in -C mode, even if !isatty(STDOUT_FILENO)Todd T. Fries
from FreeBSD ok millert@, posix checked by jmc@
2009-02-08updates to IEEE Std 1003.1-2008;Jason McIntyre
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2009-01-28remove some duplicate information from the description of -g: thisJason McIntyre
information is already provided further down the page; ok sobrado
2009-01-19replace standardized text concerning the exit values of applicationsIgor Sobrado
with the right mdoc macros.
2008-12-30add a comment explaining the rather obscure decision when to recurseOtto Moerbeek
or not; ok millert@ pedro@
2008-12-29fix previous; e.g. ls /var/spool/mqueue as an oridinary user. okOtto Moerbeek
millert@ thib@
2008-12-24Kill a race condition which occurs when listing a directory containingOtto Moerbeek
an empty dir non-recursively. By not setting FTS_SKIP on the empty subdir, a next iteration of the fts_read loop recurses into the subdir, which might not be empty any more. Report by jacekm@, troublespot identified by pedro@; ok pedro@ millert@
2008-09-29more updates on which args do and do not mix (doc only, this time):Jason McIntyre
- 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-04- make -ln and -nl combinations behave identically. currently -l overrides -n.Jason McIntyre
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
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29note some flags which differ in behaviour from posix;Jason McIntyre
suggested by millert
2007-05-29- consistent STANDARDS blurbJason McIntyre
- note which options are extensions to POSIX discussed w/ deraadt otto millert
2007-05-08small update, now that -g does something; ok millertJason McIntyre
2007-05-07Change the -g flag from a no-op to be POSIX conforming. We allow theTodd C. Miller
-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-04-25the non existent -W option is removed from the usage()Igor Sobrado
ok by jmc@
2007-03-03minor shuffle; from Igor Sobrado and myselfJason McIntyre
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