diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-02 18:06:30 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-02 18:06:30 +1300 |
commit | 5185424048f80c75593aa548381a1aac516fb8e9 (patch) | |
tree | 7be6c9b04741654e0413e230bf6ac4fd2dbd2339 | |
parent | Turns out argument order matters (diff) | |
download | spsh-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-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | banner.c | 1 | ||||
-rw-r--r-- | cmd.c | 1 | ||||
-rw-r--r-- | loop.c | 1 | ||||
-rw-r--r-- | main.c | 1 | ||||
-rw-r--r-- | spsh.h | 1 |
7 files changed, 0 insertions, 7 deletions
@@ -1,3 +1,2 @@ *.o spsh - @@ -11,4 +11,3 @@ install : spsh clean : rm -f -- *.o spsh - @@ -6,4 +6,3 @@ void banner() { fprintf(stdout, "%s\n", WARNING); return; } - @@ -50,4 +50,3 @@ void cmd(char *line, char **environ) { return; } - @@ -26,4 +26,3 @@ void loop(char **environ) { return; } - @@ -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); } - @@ -30,4 +30,3 @@ void loop(char **environ); void cmd(char *line, char **environ); #endif - |