Macros Program to increment number by 1.

Steps in building the Macros:
1. In Terminal enter vi tushar.txt
2. Type i followed by 1
3. Press [Esc] key (to enter into command mode)
4. Press q followed by a ( q indicates start recording )
                                 ( a indicates to store the recording in register a )
5. Press [Esc] then yy followed by p ( yy will copy the current line)
                                                 ( p will paste the line was just copied )
6. Press a ( Incremnt the number )
7. Press q ( Stop recording )
8. Type @a ( To play recorded macro )

9. Type 10@a ( To play recorded macro 10 times )