#!/usr/bin/sed -f # display first 10 lines of input # the number of displayed lines can be changed, by changing the number # before the `q' command to `n' where `n' is the number of lines wanted 10 q ### colorized by sedsed, a debugger and code formatter for sed scripts ### original script: http://sed.sf.net/grabbag/scripts/head.sed