279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
|
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
|
-
+
|
/* Find the command and the data in the line. */
sep = strpbrk(linebuf_ptr, " \t");
if (sep != NULL) {
cmdend = sep;
/* Delete space at the end of the command. */
cmdend--; /* It currently derefs to the seperator.. */
while (*cmdend <= ' ') {
while (*cmdend <= ' ' && cmdend >= sep) {
*cmdend = '\0';
cmdend--;
}
/* Delete the seperator char and any leading space. */
*sep = '\0';
sep++;
|