#!/bin/sh echo "I like pie."; echo "Especially blackberry.";
Then the shell forks and the child execs echo:
echo then writes I like pie.\n into the file, advancing the file pointer