aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ls.c
AgeCommit message (Expand)Author
2020-01-09ls.c: just use getxattr()/lgetxattr().Elliott Hughes
2019-11-12Replace a test I took out last commit because it seemed impossible to trigger,Rob Landley
2019-11-08ls cleanup: use FLAG() macros, simplify next_column(), fix off by one errorsRob Landley
2019-11-05Switch -w tests to check boundary conditions, fix code to pass tests,Rob Landley
2019-10-31ls: Remove trailing whitespace so that tests passAndrew Ilijic
2019-10-28ls: Add `-w` which sets the column widthAndrew Ilijic
2019-10-17ls: Ensure file names are separated by 2 spacesAndrew Ilijic
2019-10-09ls: fix seqfault on broken localeJarno Mäkipää
2019-09-09ls: fix spacing of -lZ and --full-time.Elliott Hughes
2019-09-04ls: fix -Z, add a test.Elliott Hughes
2019-09-04DIRTREE_STATLESS doesn't have to test 3 stat fields, it sets a flagRob Landley
2019-08-30ls: fix recent regression.Elliott Hughes
2019-08-26Try to make ls failure more graceful. Print ? ? ? entries instead of error msg.Rob Landley
2019-05-13Use FLAG() macros in lsRob Landley
2019-03-02Improve help consistency.Elliott Hughes
2019-01-08ls: Fix -t to also sort by st_mtim.tv_nsec.Peter Collingbourne
2018-08-26Convert more commands to the new option/GLOBALS code style.Rob Landley
2018-08-26Remove ls sub-option: always support --color.Rob Landley
2017-12-11An incomplete list of deviations from posix (it's a start).Rob Landley
2017-04-19Add ls -ll (with --full-time as a compatibility synonym) to show nanoseconds.Rob Landley
2017-04-12Default to -b rather than -q when output is to a tty.Rob Landley
2017-04-11Silence a broken warning by hitting it with a rock.Rob Landley
2017-04-08Fix the ls -m test (which is just a whitespace issue, but eh).Rob Landley
2017-01-28Add missing `static`s and remove an unused function.Elliott Hughes
2017-01-28Whitespace.Rob Landley
2016-10-09Izabera pointed out that ls defaults to -q when output is a tty.Rob Landley
2016-09-14Fix ls -lh.Elliott Hughes
2016-08-27Make "LC_ALL=C ls -Cs --color" produce the same output on toybox and ubuntu.Rob Landley
2016-08-27Remove some redundancy and unnecessary xprintf().Rob Landley
2016-08-27Fix ls -sh.Elliott Hughes
2016-08-13Move getusername/getgroupname to lib. (Return name or string representationRob Landley
2016-05-20Add bufgetgrgid()Rob Landley
2016-04-21Have dirtree_recurse() take the new dirfd as an argument.Rob Landley
2016-03-15Add ls -b and make ls -q work with utf8.Rob Landley
2016-03-07Cleanup pass on the dirtree infrastructure, in preparation for making rm -rRob Landley
2016-03-02For years the man pages have said to #include <sys/types.h> to getRob Landley
2016-01-15Command line files without paths were attempting to use stdin as their dirfd,Rob Landley
2016-01-08The sense of -L was flipped.Elliott Hughes
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
2015-12-30make "ls -m | cat" assume 80 columns.Rob Landley
2015-12-12Add a useless memset (under CFG_TOYBOX_DEBUG) to shut up valgrind.Rob Landley
2015-12-06Rename dirtree->data to dirfd, and don't store symlink length in it.Rob Landley
2015-10-27Use the /proc/self/fd/%d workaround for O_PATH not letting you read xattrs,Rob Landley
2015-10-27Fix ls error message for chmod -r directories.Rob Landley
2015-09-05ls -h support.Elliott Hughes
2015-08-31ls -l user/group/security context should be left-aligned.Elliott Hughes
2015-08-08Fix ls -l user/group field ordering.Elliott Hughes
2015-06-23Don't segfault if none of the file arguments to ls exists.Rob Landley
2015-06-23Don't depend on malloc(0) to return non-null.Rob Landley
2015-06-23Fix ls so spacing is right for ls -l, -o, -g, -og, -ogZ, -lZ, -gZ, and -oZ.Rob Landley