Lines Matching defs:line
39 char line[1024], *t;
42 line[0] = 0;
50 t = fgets (line, sizeof (line) - 1, stdin);
59 strcpy (line, "quit");
61 if (line[0])
68 result = history_expand (line, &expansion);
79 strncpy (line, expansion, sizeof (line) - 1);
83 if (strcmp (line, "quit") == 0)
85 else if (strcmp (line, "save") == 0)
87 else if (strcmp (line, "read") == 0)
89 else if (strcmp (line, "list") == 0)
105 printf ("%d: %s: %s\n", i + history_base, timestr, the_list[i]->line);
108 else if (strncmp (line, "delete", 6) == 0)
111 if ((sscanf (line + 6, "%d", &which)) == 1)
118 free (entry->line);