awk print a range in a line code example Example: awk print only range of lines awk 'NR>=16224&&NR<=16482' in.sql > out.sql