aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-02 14:55:22 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-02 14:55:22 +1300
commitc7129922f126f8fa122d8421850528e26fb875e9 (patch)
tree8ef7dbe7e8068894e09ec73e2cdf842e6a1a7858
parentAdd a feature I like (diff)
downloadspsh-c7129922f126f8fa122d8421850528e26fb875e9.tar.gz
spsh-c7129922f126f8fa122d8421850528e26fb875e9.zip
Renamed project
-rw-r--r--README.markdown6
-rw-r--r--banner.c2
-rw-r--r--cmd.c2
-rw-r--r--loop.c2
-rw-r--r--main.c2
-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
----------
diff --git a/banner.c b/banner.c
index ff70d7c..57daceb 100644
--- a/banner.c
+++ b/banner.c
@@ -1,4 +1,4 @@
-#include "sps.h"
+#include "spsh.h"
/* Print the welcome and warning banners */
void banner() {
diff --git a/cmd.c b/cmd.c
index b0486a3..a117053 100644
--- a/cmd.c
+++ b/cmd.c
@@ -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) {
diff --git a/loop.c b/loop.c
index e1cc31a..2067e21 100644
--- a/loop.c
+++ b/loop.c
@@ -1,4 +1,4 @@
-#include "sps.h"
+#include "spsh.h"
/* Loop through reading commands until we see an EOF (^D) */
void loop() {
diff --git a/main.c b/main.c
index c4c57f0..83cb686 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-#include "sps.h"
+#include "spsh.h"
/* Entry function */
int main(int argc, char *argv[]) {
diff --git a/sps.h b/spsh.h
index afbfec6..8318e0f 100644
--- a/sps.h
+++ b/spsh.h
@@ -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 " "