Skip to main content

Select lines

The script described just below always integrates the whole spectrum. What if you want to select a part of it? The easiest way to select a certain number of lines in a file is this one:

head -n $last_line $filename | tail -n $nr_of_lines

Note that

Contents © 2018 Cobra · About · Privacy · Powered by Nikola · Creative Commons License BY-NC-SA