aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/ls.c
AgeCommit message (Expand)Author
2023-09-20Remove TOYFLAG_LOCALE.Rob Landley
2023-08-15Make ls -k switch off --block-size, document it, and two fixes to lib/args.c.Rob Landley
2023-07-16Tweak documentation.Rob Landley
2023-07-16ls: add --block-size.Elliott Hughes
2023-05-31Add test for ls --sort and ls -lc vs -ltc, fix issues found by them.Rob Landley
2023-04-10Add requested --gratuitous-longopt synonym.Rob Landley
2023-04-01Move new ls --sort options to unique short flags, using -~ and -! toRob Landley
2023-03-25Add ls --sort and a few new short sort flags.Rob Landley
2023-03-05llvm warns without an extra ,0 and gcc now warns _with_ the extra ,0Rob Landley
2023-03-03Change FLAG(x) macros to always return 0 or 1. Treewide audit of FLAG()Rob Landley
2023-01-23Implement DIRTREE_BREADTH.Rob Landley
2023-01-20Switch dirtree to set macro bits instead of hardwired numbers.Rob Landley
2022-12-02ls -b and -N and -q aren't conflict errors, they just switch each other off.Rob Landley
2022-12-01ls -N.Elliott Hughes
2022-01-03Replace \033 with \e in strings.Rob Landley
2020-04-13Humor asan.Rob Landley
2020-04-08ls: fix -h with block counts.Elliott Hughes
2020-02-02Canonicalize the usage: lines for the POSIX toys.Elliott Hughes
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