Mercurial > repo
view bin/runcpp @ 10939:5fdf8c07366b
<oerjan> mkx bin/help//\\? "$(echo "$1" | sed \'s/^[^`]/`&/\')"
author | HackBot |
---|---|
date | Sun, 21 May 2017 00:45:24 +0000 |
parents | 7f957c1f4661 |
children |
line wrap: on
line source
#!/bin/bash sed s:\\n:\n:g >/tmp/in.cpp <<<"$@"; g++ -o /tmp/a.out /tmp/in.cpp; /tmp/a.out