~emersion/mrsh-dev

unspecified builtins: add missing newline v1 PROPOSED

Pushed:

To git.sr.ht:~emersion/mrsh
   658c1ef99375..c7c3feb5d57e  master -> master

Thanks!
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/mrsh-dev/patches/7892/mbox | git am -3
Learn more about email & git

[PATCH] unspecified builtins: add missing newline Export this patch

---
 builtin/unspecified.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/unspecified.c b/builtin/unspecified.c
index 1c64d98..3258f13 100644
--- a/builtin/unspecified.c
@@ -7,7 +7,7 @@ int builtin_unspecified(struct mrsh_state *state, int argc, char *argv[]) {
 	// Ref: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_01_01
 	if (state->interactive) {
 		fprintf(stderr,
-				"%s: The behavior of this command is undefined.", argv[0]);
+				"%s: The behavior of this command is undefined.\n", argv[0]);
 	} else {
 		fprintf(stderr, "%s: The behavior of this command is undefined. "
 				"This is an error in your script. Aborting.\n", argv[0]);
-- 
2.23.0
Pushed:

To git.sr.ht:~emersion/mrsh
   658c1ef99375..c7c3feb5d57e  master -> master

Thanks!
View this thread in the archives