Rob Landley
|
c3f3f842c5
Replace \033 with \e in strings.
|
2 years ago |
Rob Landley
|
472599b99b
Humor asan.
|
4 years ago |
Elliott Hughes
|
44c4397323
ls: fix -h with block counts.
|
4 years ago |
Elliott Hughes
|
763e85820b
Canonicalize the usage: lines for the POSIX toys.
|
4 years ago |
Elliott Hughes
|
3609b31e07
ls.c: just use getxattr()/lgetxattr().
|
4 years ago |
Rob Landley
|
df6aaa39fb
Replace a test I took out last commit because it seemed impossible to trigger,
|
4 years ago |
Rob Landley
|
3def73006a
ls cleanup: use FLAG() macros, simplify next_column(), fix off by one errors
|
4 years ago |
Rob Landley
|
13468ca834
Switch -w tests to check boundary conditions, fix code to pass tests,
|
4 years ago |
Andrew Ilijic
|
342c088a70
ls: Remove trailing whitespace so that tests pass
|
4 years ago |
Andrew Ilijic
|
ab3e920602
ls: Add `-w` which sets the column width
|
4 years ago |
Andrew Ilijic
|
0b34a5637d
ls: Ensure file names are separated by 2 spaces
|
4 years ago |
Jarno Mäkipää
|
5242238852
ls: fix seqfault on broken locale
|
4 years ago |
Elliott Hughes
|
fb872879a7
ls: fix spacing of -lZ and --full-time.
|
4 years ago |
Elliott Hughes
|
935980346f
ls: fix -Z, add a test.
|
4 years ago |
Rob Landley
|
5be1c0ff22
DIRTREE_STATLESS doesn't have to test 3 stat fields, it sets a flag
|
4 years ago |
Elliott Hughes
|
fe60afd4b7
ls: fix recent regression.
|
4 years ago |
Rob Landley
|
c26870dab3
Try to make ls failure more graceful. Print ? ? ? entries instead of error msg.
|
4 years ago |
Rob Landley
|
922e6cd7e3
Use FLAG() macros in ls
|
5 years ago |
Elliott Hughes
|
d588ba7443
Improve help consistency.
|
5 years ago |
Peter Collingbourne
|
93e1b9ecb1
ls: Fix -t to also sort by st_mtim.tv_nsec.
|
5 years ago |
Rob Landley
|
009b55edc4
Convert more commands to the new option/GLOBALS code style.
|
5 years ago |
Rob Landley
|
1aaef2d2b7
Remove ls sub-option: always support --color.
|
5 years ago |
Rob Landley
|
bf1f0e357b
An incomplete list of deviations from posix (it's a start).
|
6 years ago |
Rob Landley
|
bf28043f54
Add ls -ll (with --full-time as a compatibility synonym) to show nanoseconds.
|
7 years ago |
Rob Landley
|
007af3537d
Default to -b rather than -q when output is to a tty.
|
7 years ago |
Rob Landley
|
3354319e3d
Silence a broken warning by hitting it with a rock.
|
7 years ago |
Rob Landley
|
fea6d56777
Fix the ls -m test (which is just a whitespace issue, but eh).
|
7 years ago |
Elliott Hughes
|
70f7f10476
Add missing `static`s and remove an unused function.
|
7 years ago |
Rob Landley
|
8ceb2dec8b
Whitespace.
|
7 years ago |
Rob Landley
|
48c75324f7
Izabera pointed out that ls defaults to -q when output is a tty.
|
7 years ago |