in reply to Printing a line only if first line of file

Some great solutions. How about:

head -1

Assuming a *nix platform.

--
I used to drive a Heisenbergmobile, but every time I looked at the speedometer, I got lost.