1 2 3 4 5 6 7 8 9 10
BEGIN { pipe = "cat <<EOF\n" pipe = pipe "select * from user\n" pipe = pipe " where Name = 'O\\'Donell'\n" pipe = pipe "EOF\n" while ((pipe | getline) > 0) print exit 0 }