Closed M5oul closed 7 years ago
grep -rn "printf" srcs | grep -v ft srcs/break_input/break_input.c:24: printf("Slice %lu:\n", u); srcs/break_input/break_input.c:41: printf("Slice %lu:\n", u); srcs/break_input/print_tokenizer_state.c:14: printf("'@%ld%s last_bsl@%ld sim_quo_end@%ld dub_quo_end@%ld\n", state->current_char - state->input, is_quoted(state) ? " QUOTED" : "" srcs/execution/execute_builtin.c:26: dprintf(2, "executing builtin %s\n", builtin->name); srcs/execution/execute_builtin.c:33: dprintf(2, "%s is undefined\n", builtin->name); srcs/execution/execute_builtin.c:42: dprintf(2, "done executing builtin %s, %s\n", builtin->name, ret == NO_ERROR ? "ok" : "error"); srcs/execution/execute_command_list.c:39: dprintf(2, "executing and_or_list\n"); srcs/execution/execute_command_list.c:55: dprintf(2, "shortcuting and_or_list\n"); srcs/execution/execute_command_list.c:63: dprintf(2, "done executing and_or_list, %s\n", ret == NO_ERROR ? "ok" : "error"); srcs/execution/execute_command_list.c:72: dprintf(2, "EXECUTION:\n"); srcs/execution/execute_command_list.c:79: dprintf(2, "executing command_list\n"); srcs/execution/execute_command_list.c:87: dprintf(2, "done executing command_list, %s\n", ret == NO_ERROR ? "ok" : "error"); srcs/execution/execute_pipeline.c:21: dprintf(2, "executing file %s\n", cmd->argv[0]); srcs/execution/execute_pipeline.c:51: dprintf(2, "done executing file %s, %s\n", cmd->argv[0], ret == NO_ERROR ? "ok" : "error"); srcs/execution/execute_pipeline.c:66: dprintf(2, "executing simple command %s\n", cmd->argv[0]); srcs/execution/execute_pipeline.c:69: dprintf(2, "expanding simple command %s\n", cmd->argv[0]); srcs/execution/execute_pipeline.c:74: dprintf(2, "done expanding simple command %s\n", cmd->argv[0]); srcs/execution/execute_pipeline.c:87: dprintf(2, "done executing simple command %s, %s\n", cmd->argv[0], ret == NO_ERROR ? "ok" : "error"); srcs/execution/execute_pipeline.c:104: dprintf(2, "executing pipeline\n"); srcs/execution/execute_pipeline.c:127: dprintf(2, "done executing pipeline, %s\n", pipeline_state.last_ret == NO_ERROR ? "ok" : "error"); srcs/read_input/event_callbacks/print_callback_def.c:11: printf("id:%d, name:\"%s\", str:\"", def->id, def->name); srcs/read_input/event_callbacks/print_callback_def.c:13: printf("\", callback:%p\n", def->callback); srcs/utils/print_non_ascii_str.c:17: printf("\\x%x", c);
grep -rn "stdio" srcs srcs/break_input/break_input.c:8:/*#include <stdio.h> srcs/break_input/print_tokenizer_state.c:7:#include <stdio.h> srcs/execution/execute_builtin.c:5:#include <stdio.h> srcs/execution/execute_command_list.c:7:#include <stdio.h> srcs/execution/execute_pipeline.c:8:#include <stdio.h> srcs/execution/pipe.c:4:#include <stdio.h> srcs/expansion/command_substitution.c:10:#include <stdio.h> srcs/expansion/field_splitting.c:5:#include <stdio.h> srcs/main.c:4:#include <stdio.h> srcs/read_input/event_callbacks/print_callback_def.c:3:#include <stdio.h> srcs/utils/event_callbacks_test.c:3:#include <stdio.h> srcs/utils/print_non_ascii_str.c:4:#include <stdio.h>
c'est de debug il faudra le viré plus tard
Ok.
Et les include stdio ça peut être légitime pour des macro
No printf