aboutsummaryrefslogtreecommitdiff
path: root/yes.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use a new build system for everything, and revamp directories.Runxi Yu2024-08-061-0/+28
| | | | | | | | | | | 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-47/+0
| | | | 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-4/+4
| | | | | | is invalid (if the program supports options) Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* fix typo and correct copyrightsFerass 'Vitali64' EL HAFIDI2022-06-301-0/+1
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* yes: document '--' && cat: better handle default behaviorFerass 'Vitali64' EL HAFIDI2022-06-261-1/+2
| | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* yes: Support -- and always return 0Ron Nazarov2022-06-261-6/+13
|
* Actually fix yesRon Nazarov2022-06-261-1/+1
| | | | ' ' and '\n' were swapped around and argc should be argc - 1
* yes: Remove trailing spaceRon Nazarov2022-06-251-2/+1
| | | | | Before, yes would add a trailing space after the final argument, which it should not.
* yes: fix a bug (see commit description)Ferass 'Vitali64' EL HAFIDI2022-06-251-2/+5
| | | | | | | | | | | | Before, this command: $ yes hello world only outputed 'hello', dropping 'world'. This is now fixed. Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com>
* [PATCH 30/57] centralized MakefileLeah Rowe2022-06-241-0/+36