Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [PATCH 34/57] Rename LICENSE to COPYING | Leah Rowe | 2022-06-24 | 2 | -189/+674 | |
| | | | | | | | | | Also: re-download the same license text (GPLv3), but formatted to 80 characters max per line. Taken from here: https://www.gnu.org/licenses/gpl-3.0.txt | |||||
* | [PATCH 32/57] date: removed unused argc/argv from main() | Leah Rowe | 2022-06-24 | 1 | -7/+1 | |
| | ||||||
* | [PATCH 31/57] update the .gitignore file | Leah Rowe | 2022-06-24 | 1 | -3/+6 | |
| | ||||||
* | [PATCH 30/57] centralized Makefile | Leah Rowe | 2022-06-24 | 14 | -226/+70 | |
| | ||||||
* | [PATCH 29/57] head: re-factor some code | Leah Rowe | 2022-06-24 | 2 | -25/+23 | |
| | ||||||
* | [PATCH 28/57] update TODO | Leah Rowe | 2022-06-24 | 1 | -0/+1 | |
| | ||||||
* | [PATCH 27/57] yes: remove unnecessary include | Leah Rowe | 2022-06-24 | 1 | -1/+0 | |
| | ||||||
* | [PATCH 26/57] cat: remove unnecessary include | Leah Rowe | 2022-06-24 | 1 | -1/+0 | |
| | ||||||
* | [PATCH 25/57] date: clean up some code | Leah Rowe | 2022-06-24 | 1 | -10/+7 | |
| | ||||||
* | [PATCH 24/57] create a dedicated TODO list, in a file | Leah Rowe | 2022-06-24 | 6 | -25/+7 | |
| | ||||||
* | [PATCH 23/57] head: re-factor the code | Leah Rowe | 2022-06-24 | 1 | -10/+6 | |
| | ||||||
* | [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> |