#!/bin/sh cat >/tmp/t.cpp < int main(){puts("hi");} EOF /usr/bin/clang++ -O2 /tmp/t.cpp -o /tmp/t /tmp/t