annotate bin/cc @ 12230:fb0eea93d4e9 draft

<fizzie> sled /hackenv/bin/cc//s|\\\\\\\\|\\\\\\\\n|
author HackEso <hackeso@esolangs.org>
date Thu, 05 Dec 2019 13:42:21 +0000
parents c989a1669243
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9075
c989a1669243 <fizzie> revert 58b9ee8f97a7
HackBot
parents:
diff changeset
1 #!/bin/sh
12230
fb0eea93d4e9 <fizzie> sled /hackenv/bin/cc//s|\\\\\\\\|\\\\\\\\n|
HackEso <hackeso@esolangs.org>
parents: 9075
diff changeset
2 echo "$@" | sed 's/\\n/\n/g' | gcc -w -Wfatal-errors -std=c11 -O2 -x c - -o /tmp/a.out && /tmp/a.out