aboutsummaryrefslogtreecommitdiff
path: root/cat.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* cat: initialize errRunxi Yu2024-08-091-1/+1
|
* Use a new build system for everything, and revamp directories.Runxi Yu2024-08-061-0/+67
| | | | | | | | | | | 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-64/+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>
* cat: fix some bugs (see commit description)Ferass 'Vitali64' EL HAFIDI2022-06-291-8/+7
| | | | | | | | | | | | | | | | Fases cat used to be very buggy, some people tried to make it better but their patches didn't really follow the coding style. But thanksto a patch sent by DiffieHellman on irc in which this simple fix is partially based on, cat finally concatenates files correctly! Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* yes: document '--' && cat: better handle default behaviorFerass 'Vitali64' EL HAFIDI2022-06-261-5/+5
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* all: Handle errors the POSIX wayFerass 'Vitali64' EL HAFIDI2022-06-261-5/+2
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* cat: actually concatenate files and add -uFerass 'Vitali64' EL HAFIDI2022-06-251-18/+26
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* [PATCH 43/57] Revert incomplete change to cat.cLeah Rowe2022-06-241-10/+8
|
* [PATCH 37/57] ls: simplfy handling of parametersLeah Rowe2022-06-241-8/+10
|
* [PATCH 30/57] centralized MakefileLeah Rowe2022-06-241-0/+60