Here is a script that I wrote and use in SAM, although it is not a
part of the SAM distribution. I put it here for your
benefit:
If you want to use this script, you'll have to make some
changes. The script uses skip which I haven't
provided. Tool skip skips $1 lines and
allows the user to skip over an arbitrary number of initial data
points. Perhaps you can write your own tool or code snippet?
This bit of code might work to replace skip, if
you first export lines: