aboutsummaryrefslogtreecommitdiff
path: root/ls.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use a new build system for everything, and revamp directories.Runxi Yu2024-08-061-0/+224
| | | | | | | | | | | Previously there was quite a bit of sed(1)'ing going on on each source file, and a bit of copying them to box_tmp. Now we use preprocessor directives instead, things should be much cleaner. And since it's a pain to prefix strings, move all programs out of subdirs. I've also clarified the Makefile system a bit. I'm unsure how to make standalone programs with POSIX Make, so currently we only generate fases-in-a-box.
* organise repoFerass 'Vitali64' EL HAFIDI2022-06-301-260/+0
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* remove the -h option on some other utilitiesFerass 'Vitali64' EL HAFIDI2022-06-301-1/+1
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
*  all: remove -h and instead print the help text when the specified option ↵Ferass 'Vitali64' EL HAFIDI2022-06-301-2/+2
| | | | | | is invalid (if the program supports options) Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* ls: attempt at fixing memory errorsFerass 'Vitali64' EL HAFIDI2022-06-301-6/+6
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* ls: when -l is specified, ignore -C, -1 and -mFerass 'Vitali64' EL HAFIDI2022-06-291-2/+7
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* ls: add unfinished -l optionFerass 'Vitali64' EL HAFIDI2022-06-291-8/+75
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* ls: code cleanupFerass 'Vitali64' EL HAFIDI2022-06-281-3/+4
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* ls: add -m optionFerass 'Vitali64' EL HAFIDI2022-06-281-7/+12
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* ls: add -i optionFerass 'Vitali64' EL HAFIDI2022-06-281-8/+11
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* all: Handle errors the POSIX wayFerass 'Vitali64' EL HAFIDI2022-06-261-9/+7
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* ls: remove trailing newlineFerass 'Vitali64' EL HAFIDI2022-06-251-2/+0
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* ls: typofixFerass 'Vitali64' EL HAFIDI2022-06-251-2/+2
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* all: update help text to include more optionsFerass 'Vitali64' EL HAFIDI2022-06-251-1/+1
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* ls: update help textFerass 'Vitali64' EL HAFIDI2022-06-251-2/+4
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* [PATCH 51/57] ls: add -1 supportLeah Rowe2022-06-251-7/+24
|
* [PATCH 50/57] ls: fix for loopLeah Rowe2022-06-251-1/+2
|
* [PATCH 49/57] ls: -R option (recursively list subdirectories)Leah Rowe2022-06-251-6/+63
|
* [PATCH 48/57] ls: re-factor while loop (2)Leah Rowe2022-06-251-3/+1
|
* [PATCH 47/57] ls: re-factored while loopLeah Rowe2022-06-251-3/+1
|
* [PATCH 46/57] ls: for -C, just print spaces. no columns or tabsLeah Rowe2022-06-251-10/+1
| | | | | | It doesn't matter whether this implementation is correct. The new code is smaller. Cleaner.
* [PATCH 44/57] ls: re-factor if/else block in ls()Leah Rowe2022-06-241-27/+21
|
* [PATCH 42/57] ls: make unsupported argument check more readableLeah Rowe2022-06-241-4/+4
|
* [PATCH 41/57] ls: fix wrong check in if statementLeah Rowe2022-06-241-1/+1
|
* [PATCH 40/57] ls: print more than one unsupported argument errorLeah Rowe2022-06-241-1/+2
|
* [PATCH 39/57] ls: actually exit if unsupported argument givenLeah Rowe2022-06-241-2/+13
|
* [PATCH 38/57] ls: rename dirname to pathLeah Rowe2022-06-241-5/+5
|
* [PATCH 37/57] ls: simplfy handling of parametersLeah Rowe2022-06-241-18/+15
|
* [PATCH 30/57] centralized MakefileLeah Rowe2022-06-241-0/+116