aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-03-02 18:06:30 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-03-02 18:06:30 +1300
commit5185424048f80c75593aa548381a1aac516fb8e9 (patch)
tree7be6c9b04741654e0413e230bf6ac4fd2dbd2339
parentTurns out argument order matters (diff)
downloadspsh-5185424048f80c75593aa548381a1aac516fb8e9.tar.gz
spsh-5185424048f80c75593aa548381a1aac516fb8e9.zip
Remove trailing blank lines
18:01:26 <cory> are you using some non-vim text editor that forces a newline at the end 18:01:49 <tom> hm, no, i've just been doing it because i usually do 18:01:52 <tom> is it not kosher? 18:01:59 <cory> it tickles my autism, personally 18:02:26 <cory> dunno about the rest of the world 18:04:03 <tom> i'm trying to find some mention of whether it should be there or not 18:04:08 <tom> i've always just put it there 18:04:22 <tom> but i don't have a good reason 18:04:41 <cory> some text editors I've seen but can't recall atm seem to force it 18:04:53 <cory> which is probably the start of my disdain for it 18:05:03 <cory> damn disobedient text editors 18:05:10 <tom> haha 18:05:14 <tom> don't you DARE touch my file 18:05:34 <cory> in some asshole languages the extra newline could MEAN something, dammit 18:05:42 <tom> yeah point 18:06:27 <tom> well, it still builds without it, so
-rw-r--r--.gitignore1
-rw-r--r--Makefile1
-rw-r--r--banner.c1
-rw-r--r--cmd.c1
-rw-r--r--loop.c1
-rw-r--r--main.c1
-rw-r--r--spsh.h1
7 files changed, 0 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 779dafb..a7d5296 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
*.o
spsh
-
diff --git a/Makefile b/Makefile
index 031750f..d9a0ddc 100644
--- a/Makefile
+++ b/Makefile
@@ -11,4 +11,3 @@ install : spsh
clean :
rm -f -- *.o spsh
-
diff --git a/banner.c b/banner.c
index 57daceb..ae23904 100644
--- a/banner.c
+++ b/banner.c
@@ -6,4 +6,3 @@ void banner() {
fprintf(stdout, "%s\n", WARNING);
return;
}
-
diff --git a/cmd.c b/cmd.c
index 69b9bf3..aa29922 100644
--- a/cmd.c
+++ b/cmd.c
@@ -50,4 +50,3 @@ void cmd(char *line, char **environ) {
return;
}
-
diff --git a/loop.c b/loop.c
index 7ff2b3e..6d68d50 100644
--- a/loop.c
+++ b/loop.c
@@ -26,4 +26,3 @@ void loop(char **environ) {
return;
}
-
diff --git a/main.c b/main.c
index 8b983db..a89b1b4 100644
--- a/main.c
+++ b/main.c
@@ -12,4 +12,3 @@ int main(int argc, char *argv[], char **environ) {
/* If we get to this point, things should be good */
exit(EXIT_SUCCESS);
}
-
diff --git a/spsh.h b/spsh.h
index bf8a817..301ddbc 100644
--- a/spsh.h
+++ b/spsh.h
@@ -30,4 +30,3 @@ void loop(char **environ);
void cmd(char *line, char **environ);
#endif
-