A simple version of the head program using sed.