Lines Matching defs:command
2618 "To save to subparts of a document use the 'write' command\n");
2678 * If @tree is null, the command works on the current node.
2812 char command[100];
2857 * Get a new command line
2864 * Parse the command itself
2874 command[i++] = *cur++;
2876 command[i] = 0;
2894 * start interpreting the command
2896 if (!strcmp(command, "exit"))
2898 if (!strcmp(command, "quit"))
2900 if (!strcmp(command, "bye"))
2902 if (!strcmp(command, "help")) {
2938 } else if (!strcmp(command, "validate")) {
2941 } else if (!strcmp(command, "load")) {
2944 } else if (!strcmp(command, "relaxng")) {
2948 } else if (!strcmp(command, "save")) {
2950 } else if (!strcmp(command, "write")) {
2953 "Write command requires a filename argument\n");
2957 } else if (!strcmp(command, "grep")) {
2959 } else if (!strcmp(command, "free")) {
2968 } else if (!strcmp(command, "pwd")) {
2973 } else if (!strcmp(command, "du")) {
3047 } else if (!strcmp(command, "base")) {
3049 } else if (!strcmp(command, "set")) {
3052 } else if (!strcmp(command, "setns")) {
3059 } else if (!strcmp(command, "setrootns")) {
3064 } else if (!strcmp(command, "xpath")) {
3076 } else if (!strcmp(command, "setbase")) {
3079 } else if ((!strcmp(command, "ls")) || (!strcmp(command, "dir"))) {
3080 int dir = (!strcmp(command, "dir"));
3164 } else if (!strcmp(command, "whereis")) {
3241 } else if (!strcmp(command, "cd")) {
3327 } else if (!strcmp(command, "cat")) {
3407 "Unknown command %s\n", command);