diff options
Diffstat (limited to '')
-rw-r--r-- | box-templates/box_1-23.c | 23 | ||||
-rw-r--r-- | box-templates/box_45-49.c | 7 | ||||
-rw-r--r-- | box-templates/box_70-73.c | 6 | ||||
-rw-r--r-- | box-templates/box_94-96.c | 9 |
4 files changed, 0 insertions, 45 deletions
diff --git a/box-templates/box_1-23.c b/box-templates/box_1-23.c deleted file mode 100644 index eccb4fb..0000000 --- a/box-templates/box_1-23.c +++ /dev/null @@ -1,23 +0,0 @@ -/* fasesiab - Ferass' Base System in a box - * Copyright (C) 2022 Ferass EL HAFIDI - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ -/* START */ - -#include <string.h> -#include <unistd.h> -#include <libgen.h> -#include <stdio.h> -/* END */ diff --git a/box-templates/box_45-49.c b/box-templates/box_45-49.c deleted file mode 100644 index 42bd0e4..0000000 --- a/box-templates/box_45-49.c +++ /dev/null @@ -1,7 +0,0 @@ -/* START */ -int main(int argc, char *argv[]) { - if (!strcmp(basename(argv[0]),"box") && argc > 1) { - argc--; - argv++; - } if(0); -/* END */ diff --git a/box-templates/box_70-73.c b/box-templates/box_70-73.c deleted file mode 100644 index 0f48b18..0000000 --- a/box-templates/box_70-73.c +++ /dev/null @@ -1,6 +0,0 @@ -/* START */ - else if (!strcmp(basename(argv[0]), "box") && argc == 1) { - printf("Ferass' Base System in a box\n\n"); - printf("Usage: box <COMMAND> [ARGS]\n\n"); - printf("Commands available:\n"); -/* END */ diff --git a/box-templates/box_94-96.c b/box-templates/box_94-96.c deleted file mode 100644 index ac381af..0000000 --- a/box-templates/box_94-96.c +++ /dev/null @@ -1,9 +0,0 @@ -/* START */ - printf("\n"); - } - else { - printf("box: %s: Not found or not implemented.\n", argv[0]); - } - return 0; -} -/* END */ |