From 88dc2a36d9d1fa0e3e57a9f8441b7b2b302a31ae Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 6 Apr 2014 21:57:08 +0100 Subject: Revised specification --- SPEC | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'SPEC') diff --git a/SPEC b/SPEC index bada924..57b23c8 100644 --- a/SPEC +++ b/SPEC @@ -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 -- cgit v1.1