Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [PATCH 22/57] cat: re-factor the code | Leah Rowe | 2022-06-24 | 1 | -29/+22 | |
| | ||||||
* | [PATCH 21/57] cat: use unbuffered printf | Leah Rowe | 2022-06-24 | 1 | -11/+8 | |
| | ||||||
* | [PATCH 20/57] date: re-factor, and use unbuffered printf | Leah Rowe | 2022-06-24 | 1 | -8/+7 | |
| | ||||||
* | [PATCH 19/57] head: use unbuffered printf | Leah Rowe | 2022-06-24 | 1 | -0/+2 | |
| | ||||||
* | [PATCH 18/57] yes: re-factor, and use unbuffered printf | Leah Rowe | 2022-06-24 | 1 | -21/+9 | |
| | ||||||
* | [PATCH 17/57] ls: use printf, unbuffered | Leah Rowe | 2022-06-24 | 1 | -19/+16 | |
| | | | | As opposed to the currently defined "print" function. | |||||
* | [PATCH 16/57] ls: fix wrong check for -a | Leah Rowe | 2022-06-24 | 1 | -1/+1 | |
| | ||||||
* | [PATCH 15/57] ls: further de-bloat the code | Leah Rowe | 2022-06-24 | 1 | -26/+9 | |
| | ||||||
* | [PATCH 14/57] ls: actually initialize params[6] in main() | Leah Rowe | 2022-06-24 | 1 | -3/+3 | |
| | ||||||
* | [PATCH 13/57] ls: Further simplify the code | Leah Rowe | 2022-06-24 | 1 | -5/+2 | |
| | ||||||
* | [PATCH 12/57] cat/ls: rename arguments to argument | Leah Rowe | 2022-06-24 | 2 | -10/+10 | |
| | | | | It's only handling one argument. | |||||
* | [PATCH 11/57] ls: Remove more unnecessary comments | Leah Rowe | 2022-06-24 | 1 | -11/+1 | |
| | | | | | | | The code Ferass originally wrote was very clear. The current code is still very clear. Do not document code in code, unless you really need to. | |||||
* | [PATCH 10/57] ls: simplify code block for 'a' and 'A' | Leah Rowe | 2022-06-24 | 1 | -7/+4 | |
| | ||||||
* | [PATCH 09/57] ls: rename retval variable to status | Leah Rowe | 2022-06-24 | 1 | -3/+3 | |
| | ||||||
* | [PATCH 08/57] add TODO: proper error codes | Leah Rowe | 2022-06-24 | 5 | -0/+31 | |
| | ||||||
* | [PATCH 07/57] ls: exit with non-zero return value when failing | Leah Rowe | 2022-06-24 | 1 | -10/+9 | |
| | | | | Handling of arguments is generally more robust. | |||||
* | [PATCH 06/57] ls: fix bug: output now given on e.g. ls -a -h | Leah Rowe | 2022-06-24 | 1 | -3/+4 | |
| | | | | | | | | | | | | | The previous code checked for condition: if 2 arguments but 2nd argument starts with -, output contents of cwd. For example: ls -a However, say you did: ls -a -A Previously, this would output nothing at all. Now it works as intended. | |||||
* | [PATCH 05/57] Remove further useless comments | Leah Rowe | 2022-06-24 | 1 | -17/+8 | |
| | ||||||
* | [PATCH 04/57] Move usage instructions to specific functions | Leah Rowe | 2022-06-24 | 5 | -48/+48 | |
| | ||||||
* | [PATCH 03/57] Remove superfluous comments | Leah Rowe | 2022-06-24 | 5 | -62/+44 | |
| | ||||||
* | [PATCH 02/57] Make all code fit into 80 characters | Leah Rowe | 2022-06-24 | 5 | -27/+45 | |
| | | | | | | | | | | | | Nested if statements and so on have been condensed. If/else statements changed in a few places, to reduce the amount of nested code. Where tabs are literally entered into printf statements, use \t instead of actually typing a tab character. This is more correct. In general, make the code a bit more linear in how it reads. | |||||
* | Make all code fit into 80 characters | Leah Rowe | 2022-06-24 | 1 | -0/+1 | |
| | | | | | | | | | | | | Nested if statements and so on have been condensed. If/else statements changed in a few places, to reduce the amount of nested code. Where tabs are literally entered into printf statements, use \t instead of actually typing a tab character. This is more correct. In general, make the code a bit more linear in how it reads. | |||||
* | [PATCH 01/57] Re-factor the codebase, reduce nesting | Leah Rowe | 2022-06-24 | 3 | -114/+109 | |
| | ||||||
* | readme: add useful information and thank people who help me | Ferass 'Vitali64' EL HAFIDI | 2022-06-24 | 1 | -0/+61 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | ls: exit when there's an invalid argument | Ferass 'Vitali64' EL HAFIDI | 2022-06-19 | 1 | -0/+2 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | ls: add -1 and update help text | Ferass 'Vitali64' EL HAFIDI | 2022-06-19 | 1 | -2/+5 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | date: remove unnecessary stdio.h | Ferass 'Vitali64' EL HAFIDI | 2022-06-19 | 1 | -1/+0 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | ls: fix a bug where 'ls -{argument}' gave no output | Ferass 'Vitali64' EL HAFIDI | 2022-06-19 | 1 | -0/+3 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | ls: handle conflicting arguments | Ferass 'Vitali64' EL HAFIDI | 2022-06-19 | 1 | -11/+12 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | readme: document new ls options | Ferass 'Vitali64' EL HAFIDI | 2022-06-19 | 1 | -0/+4 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | ls: add help text about the 2 new options | Ferass 'Vitali64' EL HAFIDI | 2022-06-19 | 1 | -0/+2 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | ls: fix handling of arguments, and add '-C' option | Ferass 'Vitali64' EL HAFIDI | 2022-06-19 | 1 | -9/+48 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | ls: add the '-A' option | Ferass 'Vitali64' EL HAFIDI | 2022-06-19 | 1 | -1/+13 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | date: implement `date` | Ferass 'Vitali64' EL HAFIDI | 2022-06-18 | 4 | -1/+73 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | fasesiab: typofix | Ferass 'Vitali64' EL HAFIDI | 2022-06-18 | 1 | -1/+0 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | typofix: 'function' instead of 'macro' | Ferass 'Vitali64' EL HAFIDI | 2022-06-17 | 2 | -2/+2 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | readme: Add known bugs and reformat | Ferass 'Vitali64' EL HAFIDI | 2022-06-17 | 1 | -20/+32 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | ls: Rewrite and add a new option: -a | Ferass 'Vitali64' EL HAFIDI | 2022-06-17 | 1 | -50/+65 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | all: code cleanup. | Ferass 'Vitali64' EL HAFIDI | 2022-06-16 | 4 | -42/+28 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | fasesiab: unistdify it and fix it. | Ferass 'Vitali64' EL HAFIDI | 2022-06-07 | 1 | -20/+21 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | yes: unistdify main.c | Ferass 'Vitali64' EL HAFIDI | 2022-06-06 | 2 | -20/+22 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | cat: use getopt(3) instead of manually handling options | Ferass 'Vitali64' EL HAFIDI | 2022-06-02 | 1 | -25/+34 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | cat: remove stupid character limit | Ferass 'Vitali64' EL HAFIDI | 2022-06-02 | 2 | -3/+2 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | cat: use a function, not #define | Ferass 'Vitali64' EL HAFIDI | 2022-06-02 | 1 | -1/+1 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | cat: replace most functions with POSIX-compliant functions from 'unistd.h' | Ferass 'Vitali64' EL HAFIDI | 2022-06-02 | 2 | -22/+26 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | fasesiab: add 'make clear' option and output a message telling the user to ↵ | Ferass 'Vitali64' EL HAFIDI | 2022-05-28 | 1 | -2/+21 | |
| | | | | | | 'make gen' Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | readme: add information about compiling fasesiab and tell that docs aren't ↵ | Ferass 'Vitali64' EL HAFIDI | 2022-05-28 | 1 | -7/+40 | |
| | | | | | | complete Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | all: modify makefiles to be posix compliant - Part 2 | Ferass 'Vitali64' EL HAFIDI | 2022-05-28 | 6 | -6/+6 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | all: modify makefiles to be posix compliant and configurable (see config.mk) | Ferass 'Vitali64' EL HAFIDI | 2022-05-28 | 6 | -10/+29 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> | |||||
* | Write fasesiab | Ferass 'Vitali64' EL HAFIDI | 2022-05-28 | 3 | -4/+78 | |
| | | | | Signed-off-by: Ferass 'Vitali64' EL HAFIDI <vitali64pmemail@protonmail.com> |