Your teacher should've given you some code to start with. Show what code you *do* have, and I'll be glad to give you some pointers.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re^3: Print next N lines after a pattern is matched.
by roboticus
in thread Print next N lines after a pattern is matched.
by manutd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |