From 08d3700c1585c097863b46862ce5641c651b254e Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Thu, 18 Feb 2021 16:32:31 -0800 Subject: [PATCH] Fix getting started example for Z-shell (#44) Apropos zsh, our patch has now been upstreamed! See: https://github.com/zsh-users/zsh/commit/326d9c203b39 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e3572938..223e0e0d 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ five files to get started: ```sh wget https://justine.lol/cosmopolitan/cosmopolitan-amalgamation-0.2.zip unzip cosmopolitan-amalgamated-0.2.zip -echo 'main() { printf("hello world\n"); }' >hello.c +printf 'main() { printf("hello world\\n"); }\n' >hello.c gcc -g -O -static -nostdlib -nostdinc -fno-pie -no-pie -mno-red-zone \ -o hello.com.dbg hello.c -fuse-ld=bfd -Wl,-T,ape.lds \ -include cosmopolitan.h crt.o ape.o cosmopolitan.a