Maintain lines in a txt according an aritmetic progression
I would like a snack to :
1. Select a txt file
2. Introduce the number of the first line to maintain
3. Introduce the reason of an aritmetic progression .
By example
c:/ejemplo.txt
first line is 2
and the reason is 5
The script will be able of :
Maintain lines 2, 7, 12, 17, etc until the end of the file
Remove the rest of lines
Can you do it ?
Best Regards
Happy New Year
I would like a snack to :
1. Select a txt file
2. Introduce the number of the first line to maintain
3. Introduce the reason of an aritmetic progression .
By example
c:/ejemplo.txt
first line is 2
and the reason is 5
The script will be able of :
Maintain lines 2, 7, 12, 17, etc until the end of the file
Remove the rest of lines
Can you do it ?
Best Regards
Happy New Year















