diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-02 14:55:22 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-02 14:55:22 +1300 |
commit | c7129922f126f8fa122d8421850528e26fb875e9 (patch) | |
tree | 8ef7dbe7e8068894e09ec73e2cdf842e6a1a7858 | |
parent | Add a feature I like (diff) | |
download | spsh-c7129922f126f8fa122d8421850528e26fb875e9.tar.gz spsh-c7129922f126f8fa122d8421850528e26fb875e9.zip |
Renamed project
-rw-r--r-- | README.markdown | 6 | ||||
-rw-r--r-- | banner.c | 2 | ||||
-rw-r--r-- | cmd.c | 2 | ||||
-rw-r--r-- | loop.c | 2 | ||||
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | spsh.h (renamed from sps.h) | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/README.markdown b/README.markdown index 88c6870..ec6d7d4 100644 --- a/README.markdown +++ b/README.markdown @@ -1,5 +1,5 @@ -sps: the shitposting shell -========================== +spsh: the shitposting shell +=========================== An experimental Bourne-style shell for me to learn moar C. Don't actually use this for any serious reason. @@ -7,7 +7,7 @@ this for any serious reason. You need to fully-qualify the programs and arguments you call at the moment, like: - sps$ /bin/grep pattern /home/user/file + spsh$ /bin/grep pattern /home/user/file Installing ---------- @@ -1,4 +1,4 @@ -#include "sps.h" +#include "spsh.h" /* Print the welcome and warning banners */ void banner() { @@ -1,4 +1,4 @@ -#include "sps.h" +#include "spsh.h" /* Process a read line into a command and arguments and try to execute it */ void cmd(char *line) { @@ -1,4 +1,4 @@ -#include "sps.h" +#include "spsh.h" /* Loop through reading commands until we see an EOF (^D) */ void loop() { @@ -1,4 +1,4 @@ -#include "sps.h" +#include "spsh.h" /* Entry function */ int main(int argc, char *argv[]) { @@ -12,7 +12,7 @@ #include <unistd.h> /* A welcome and a warning */ -#define WELCOME "Welcome to sps, the shitposting shell" +#define WELCOME "Welcome to spsh: the shitposting shell" #define WARNING "(pretty much nothing works, just fyi)" /* Maximum number of arguments and environment variables */ @@ -20,7 +20,7 @@ #define MAX_ENVS 64 /* The prompt to use */ -#define PROMPT "sps$ " +#define PROMPT "spsh$ " /* The token used to separate arguments */ #define ARG_DELIM " " |