changeset 5955:de7749cfb1d9

<fizzie> ` sed -i -e \'s,>/tmp/a.c &&,|,;s|/tmp/a.c|-x c -|\' bin/cc
author HackBot
date Thu, 03 Sep 2015 08:03:54 +0000
parents 91b69af613a7
children 685e004a3372
files bin/cc
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bin/cc	Tue Sep 01 14:58:51 2015 +0000
+++ b/bin/cc	Thu Sep 03 08:03:54 2015 +0000
@@ -1,2 +1,2 @@
 #!/bin/sh
-echo "$@" | sed 's/\\/\n/g' >/tmp/a.c && gcc -w -Wfatal-errors -std=c11 -O2 /tmp/a.c -o /tmp/a.out && /tmp/a.out
+echo "$@" | sed 's/\\/\n/g' | gcc -w -Wfatal-errors -std=c11 -O2 -x c - -o /tmp/a.out && /tmp/a.out