Lines Matching refs:line
35 char line[1024], *t;
38 line[0] = 0;
46 t = fgets (line, sizeof (line) - 1, stdin);
55 strcpy (line, "quit");
57 if (line[0])
64 result = history_expand (line, &expansion);
75 strncpy (line, expansion, sizeof (line) - 1);
79 if (strcmp (line, "quit") == 0)
81 else if (strcmp (line, "save") == 0)
83 else if (strcmp (line, "read") == 0)
85 else if (strcmp (line, "list") == 0)
101 printf ("%d: %s: %s\n", i + history_base, timestr, the_list[i]->line);
104 else if (strncmp (line, "delete", 6) == 0)
107 if ((sscanf (line + 6, "%d", &which)) == 1)
114 free (entry->line);