summaryrefslogtreecommitdiff
path: root/bin/ls/ls.c
AgeCommit message (Expand)Author
2014-02-22add u option to getopt again.mlelstv
2014-02-21Add -X (don't cross mount points when recursing) from tls@christos
2014-02-20Add -O (only leaf files) and -P (print full path), from tls@christos
2012-11-20PR/47167abs
2011-08-29Move usage and mark it static+deadjoerg
2011-03-15PR#7540, add a -M option to ls which causes sizes (and number of blocks) to beerh
2010-07-08Add #include <sys/param.h> for howmany().rmind
2009-02-14fix -Wsign-compare issueslukem
2008-09-25Change '-n' so that it implies '-l' rather than requires '-l'.lukem
2008-07-20Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2006-12-14Complete the move of string_to_flags() and flags_to_string() from thehe
2006-12-14Pass lint. From Anon Ymouschristos
2006-09-23PR/34499: mac at S dot culver dot net: ls allocates more memory than neededelad
2006-08-21from zafer: you can have either -k or -h but not both since it does not makechristos
2006-03-22Coverity CID 1755: Add fts_close() in traverse.christos
2005-10-26Rather than '-h' suppressing '-s' when using '-l', make it displayjschauma
2005-10-14Honor the COLUMNS variable even when producing output not to a terminal,jschauma
2005-06-17- Add -h to usage.hira
2003-12-26Fix bug with previous change- always initialise d.s_block. Now "ls -1sh"simonb
2003-12-26KNF - wrap long lines.simonb
2003-12-26implement -h(umanize).grant
2003-09-22After last weeks addition of the '-b' flag, add '-B' and '-w' flags,jschauma
2003-09-14Implement '-b' option, which, following FreeBSD, Linux and (I think) Solarisjschauma
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-05-30Pass a NULL to getbsize() for any arguments that aren't needed, andsimonb
2003-05-11If both -g and -l options are present, let -l take precedence over -g,kleink
2003-05-07Add a FALLTHROUGH to keep lint happy.simonb
2003-05-07make -g behave as it should according to SUSv3 (long listing withoutgrant
2002-09-27Need to initialise the blocksize variable if the -i option is usedsimonb
2002-09-14Use the output blocksize when computing how much room to leave for thesommerfeld
2000-07-29convert to new KNFlukem
2000-06-17Do not modify the file name when not printing non-printables, also doassar
2000-03-06- Fix a typo that when group_from_gid is failed (though it merely failsenami
1999-11-09Since our gcc doesn't warn about NULL format strings anymore, we candrochner
1999-11-02Call setlocale(3) to use localization in "ls" as suggested bytron
1999-05-17Rename ls.c::main() -> ls.c::ls_main(), and add a wrapper in main.c::main().lukem
1999-05-04If an error is encountered, exit with non-zero status.simonb
1999-02-17Add support for the XCU5 -p option (-F restricted to directories).kleink
1999-02-12Implement 1003.2 -m option (stream output format).kleink
1998-11-04%q -> %llchristos
1998-11-04include termios.h for struct winsizechristos
1998-10-13Check for NULL value returned by user_from_uid and group_from_gid and DTRT,wsanchez
1998-08-19Add some braces to make egcs happy.thorpej
1998-07-28Delint.mycroft
1998-07-28Delint.mycroft
1998-07-27Slight code reduction.mycroft
1998-07-27__AUDIT__ cleanup.mycroft
1998-05-16* blocks can be 64bit (not u_long), so calculate and display accordinglylukem
1998-02-03Deal with GCC warning.mycroft
1998-01-18* implement -x; sort columns across the page rather than down the pagelukem