Changeset 7c3fb9b in mainline for uspace/app/bdsh/cmds/builtins
- Timestamp:
- 2018-05-17T08:29:01Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- Location:
- uspace/app/bdsh/cmds/builtins
- Files:
-
- 3 edited
-
batch/batch.c (modified) (1 diff)
-
cd/cd.c (modified) (2 diffs)
-
exit/exit.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/builtins/batch/batch.c
rfac0ac7 r7c3fb9b 66 66 } 67 67 68 /* Main entry point for batch, accepts an array of arguments and a 69 * pointer to the cliuser_t structure */ 68 /** Main entry point for batch, accepts an array of arguments and a 69 * pointer to the cliuser_t structure 70 */ 70 71 int cmd_batch(char **argv, cliuser_t *usr) 71 72 { -
uspace/app/bdsh/cmds/builtins/cd/cd.c
rfac0ac7 r7c3fb9b 41 41 static const char *cmdname = "cd"; 42 42 43 /* Previous directory variables. 43 /* 44 * Previous directory variables. 44 45 * 45 46 * Declaring them static to avoid many "== NULL" checks. … … 101 102 } 102 103 103 /* We don't yet play nice with whitespace, a getopt implementation should 104 /* 105 * We don't yet play nice with whitespace, a getopt implementation should 104 106 * protect "quoted\ destination" as a single argument. Its not our job to 105 107 * look for && || or redirection as the tokenizer should have done that 106 * (currently, it does not) */ 108 * (currently, it does not) 109 */ 107 110 108 111 if (argc > 2) { -
uspace/app/bdsh/cmds/builtins/exit/exit.c
rfac0ac7 r7c3fb9b 44 44 } 45 45 46 /* Quits the program and returns the status of whatever command 47 * came before invoking 'quit' */ 46 /** Quits the program and returns the status of whatever command 47 * came before invoking 'quit' 48 */ 48 49 int cmd_exit(char *argv[], cliuser_t *usr) 49 50 {
Note:
See TracChangeset
for help on using the changeset viewer.
