Lines Matching defs:command
2616 "To save to subparts of a document use the 'write' command\n");
2676 * If @tree is null, the command works on the current node.
2810 char command[100];
2855 * Get a new command line
2862 * Parse the command itself
2872 command[i++] = *cur++;
2874 command[i] = 0;
2892 * start interpreting the command
2894 if (!strcmp(command, "exit"))
2896 if (!strcmp(command, "quit"))
2898 if (!strcmp(command, "bye"))
2900 if (!strcmp(command, "help")) {
2936 } else if (!strcmp(command, "validate")) {
2939 } else if (!strcmp(command, "load")) {
2942 } else if (!strcmp(command, "relaxng")) {
2946 } else if (!strcmp(command, "save")) {
2948 } else if (!strcmp(command, "write")) {
2951 "Write command requires a filename argument\n");
2955 } else if (!strcmp(command, "grep")) {
2957 } else if (!strcmp(command, "free")) {
2966 } else if (!strcmp(command, "pwd")) {
2971 } else if (!strcmp(command, "du")) {
3045 } else if (!strcmp(command, "base")) {
3047 } else if (!strcmp(command, "set")) {
3050 } else if (!strcmp(command, "setns")) {
3057 } else if (!strcmp(command, "setrootns")) {
3062 } else if (!strcmp(command, "xpath")) {
3074 } else if (!strcmp(command, "setbase")) {
3077 } else if ((!strcmp(command, "ls")) || (!strcmp(command, "dir"))) {
3078 int dir = (!strcmp(command, "dir"));
3162 } else if (!strcmp(command, "whereis")) {
3239 } else if (!strcmp(command, "cd")) {
3320 } else if (!strcmp(command, "cat")) {
3400 "Unknown command %s\n", command);