diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2014-04-06 21:57:08 +0100 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2014-04-06 21:57:08 +0100 |
| commit | 88dc2a36d9d1fa0e3e57a9f8441b7b2b302a31ae (patch) | |
| tree | c293bd27fecf6b60897379e23a2071fc010203cb | |
| parent | a9ba68d33abcadfbed7aa64aecd5e5b221246eff (diff) | |
| download | pish-88dc2a36d9d1fa0e3e57a9f8441b7b2b302a31ae.zip pish-88dc2a36d9d1fa0e3e57a9f8441b7b2b302a31ae.tar.gz pish-88dc2a36d9d1fa0e3e57a9f8441b7b2b302a31ae.tar.bz2 pish-88dc2a36d9d1fa0e3e57a9f8441b7b2b302a31ae.tar.xz | |
Revised specification
| -rw-r--r-- | SPEC | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,7 +1,13 @@ 1. Upon starting, PiSH shall output two dashes. 2. Upon needing input, PiSH shall output a dot. 3. Upon receiving an invalid command, PiSH shall output two dots. -4. Upon receiving a valid command and beginnin execution, PiSH shall output a dash. +4. Upon receiving a valid command and beginning execution, PiSH shall output a dash. 5. Upon the failure of a command, two dots shall be outputted. 6. Upon the sucess of a command, a dash shall be outputted. -7. After a command has either failed or completed, PiSH will wait for one second before awaiting input again.
\ No newline at end of file +7. After a command has either failed or completed, PiSH will wait for one second before awaiting input again. +8. Built-in commands shall be: + - exit - return to the OS + - morse STRING - transmit STRING in Morse code + - exec CMD [ARGS] - execute the shell command CMD with the arguments ARGS in the current working directory + - cd PATH - change the current working directory to PATH + - pwd - transmit the current working directory in Morse code
\ No newline at end of file |