Then I would need to keep the text from position 40 to 60, and so on.
Are you supposed to produce a distinct output for each line (each set of positions) in the second file (e.g. open one output file for "0 20", then another output file for "40 60", etc)? If not that, then what do you mean by "keep"? Give us a little more of the "big picture"...
In reply to Re: filter one file based on another
by graff
in thread filter one file based on another
by coldy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |