Changeset 4462 for trunk/Ohana/src/opihi/lib.shell/opihi.c
- Timestamp:
- Jul 6, 2005, 10:29:08 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/lib.shell/opihi.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/lib.shell/opihi.c
r3907 r4462 36 36 stripwhite (line); 37 37 if (*line) { 38 list = multicommand (line, &Nlist); 39 for (i = 0; i < Nlist; i++) { 40 status = command (list[i], &outline); 41 if (outline != NULL) free (outline); 42 } 38 status = multicommand (line); 43 39 add_history (line); 44 40 append_history (1, history); 45 free (list);46 41 } 47 42 free (line); … … 49 44 } 50 45 } 51 52 /* this needs some work to use multicommand correctly53 multicommand is currently a do-nothing function.54 if we want multicommand to interact with the list/macro style commands,55 we need a command to push all the elements of the line onto the command stack.56 */
Note:
See TracChangeset
for help on using the changeset viewer.
