#!/bin/bash -e
# pp - the shell preprocessor
#     pp < input > output
# all input lines beginning !! become the output of the following command
while read -r L;do case $L in !!*)P="$P"$'\n'"${L#!!}";;*)eval "$P";P="";echo "$L";;esac;done;eval "$P"
