LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Vi question. Cutting a specific lines (https://www.linuxquestions.org/questions/linux-general-1/vi-question-cutting-a-specific-lines-465676/)

blackzone 07-19-2006 05:50 PM

Vi question. Cutting a specific lines
 
How do I cut line 22 to line 44 under vi.

I remember there is a quick way to do it, but don't remember.

gilead 07-19-2006 06:10 PM

The following works on mine:
Code:

:22,44d
You can follow this with a register number...


All times are GMT -5. The time now is 04:40 PM.