📄 necho.c
字号:
/* necho - echo without options or argument interpretation *//* Sample builtin to be dynamically loaded with enable -f and replace an existing builtin. */#include <stdio.h>#include "builtins.h"#include "shell.h"necho_builtin (list)WORD_LIST *list;{ print_word_list (list, " "); printf("\n"); fflush (stdout); return (EXECUTION_SUCCESS);}char *necho_doc[] = { "Print the arguments to the standard ouput separated", "by space characters and terminated with a newline.", (char *)NULL}; struct builtin necho_struct = { "echo", necho_builtin, BUILTIN_ENABLED, necho_doc, "echo [args]", 0};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -