reorder

Un outil pour réarranger les lignes de stdin - retour accueil

git clone git://bebou.netlib.re/reorder
Log | Files | Refs | README |

commit 7cdd78073c2957c9d03e535620699043bd41d1fa
parent 7394eb5058c46485bd29efa1afb6faf90e9df58e
Auteurice: Arthur Pons <arthur.pons@unistra.fr>
Date:   Fri, 17 Jan 2025 10:35:08 +0100

Cet affichage ne servait plus à rien

Diffstat:
Mreorder.c | 6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/reorder.c b/reorder.c @@ -4,6 +4,8 @@ #include <stdlib.h> #include <stdbool.h> + + int main(int argc, char **argv) { struct tb_event ev; int curline = 0; @@ -21,10 +23,6 @@ int main(int argc, char **argv) { strcpy(hand[handLineCount], line); handLineCount++; } - for(int i = 0; i < handLineCount; i++){ - printf("%s", hand[i]); - } - fclose(fp); tb_init(); bool selection=false;