sed: head

1 
1 7.15 Printing the First Lines
1 =============================
1 
1 This script is probably the simplest useful 'sed' script.  It displays
1 the first 10 lines of input; the number of displayed lines is right
1 before the 'q' command.
1 
1      #!/usr/bin/sed -f
1      10q
1