#!/bin/sh cat >/tmp/z.cpp <<'CPP' #include int main(){puts("hello");} CPP c++ /tmp/z.cpp -o /tmp/z /tmp/z