print every nth line
Some time back I was working with lot of data and wanted to analyze only the every 10 line sometimes and sometimes every 20th line. I had to keep doing these changes in vim or otherwise so finally I wrote a program to do this for me. If you need such a program then here it is:
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
Related Articles:
- 2011/02/09 analyze debug queries output for wordpress
- 2011/02/27 /bash debugger
- 2011/02/06 bash regular expressions
- 2011/01/31 Ranking of the most frequently used commands
- 2011/01/27 fork a new process in perl
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.