Minor improvements to 1985/applin

Now prints a newline after the output. This is to make the output more
friendly to the user as seeing text like:

    $ ./applin
    Hello, world!$

can be confusing or at least annoying.

Further format fixed README.md.
This commit is contained in:
Cody Boone Ferguson committed 2023-05-22 03:50:56 -07:00
1 parent 49868655fb
commit cad95e4b2b
2 files changed
+20 -10

No files matched your search

+1 -1
View File
@@ -1 +1 @@
main(v,c)char**c;{for(v[c++]=strdup("Hello, world!\n");(!!c)[*c]&&(v--||--c&&execlp(*c,*c,c[!!c]+!!c,!c));**c=!c)write(!!*c,*c,!!**c);}
main(v,c)char**c;{for(v[c++]=strdup("Hello, world!\n\n");(!!c)[*c]&&(v--||--c&&execlp(*c,*c,c[!!c]+!!c,!c));**c=!c)write(!!*c,*c,!!**c);}