My Opera is closing 1st of March

M.I.T = Multimedia IT dept.

Subscribe to RSS feed

copy/paste lines between files via vi

,

1) Find out the line number you want to copy.
: set number

2) Attach the specific lines to the bottom of the other file. For example, mfrom line 42 to 52
: 42,52w >> newfile

REFERENCES:
http://www.tech-recipes.com/rx/402/show-line-numbers-in-vi-or-vim/
http://www.computing.net/answers/unix/copy-lines-in-vi-from-other-file/8359.html
February 2014
M T W T F S S
January 2014March 2014
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