4.12 Printing the First Lines ============================= This script is probably the simplest useful `sed' script. It displays the first 10 lines of input; the number of displayed lines is right before the `q' command. #!/usr/bin/sed -f 10qInfo Catalog (sed.info.gz) wc -l (sed.info.gz) Examples (sed.info.gz) tail