1
0
This commit is contained in:
dtb
2022-06-26 16:50:41 -04:00
parent e27110d9e9
commit d7eb2b3d43
4 changed files with 6 additions and 15 deletions

View File

@@ -1,14 +0,0 @@
#!/bin/sh
set -e
TMPDIR="/tmp/cscript/"
TMPSRC="$TMPDIR/script.c"
TMPOUT="$TMPDIR/a.out"
[ -d "$TMPDIR" ] || mkdir -p "$TMPDIR"
printf "%s" "$1" >"$TMPSRC"
cc -o "$TMPOUT" "$TMPSRC"
dd bs=1 2>/dev/null | "$TMPOUT"

View File