Some great solutions. How about:
head -1
Assuming a *nix platform.
In reply to Re: Printing a line only if first line of file
by KurtSchwind
in thread Printing a line only if first line of file
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |