|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Command in vi - Block delete
What command I should provide in Vi so block deletionis possible ?
|
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
at the top of the block you want to delete type "mx".
at the end of the block type "d`x". |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need help in sed command (adding a blank line btw each block generated by pattern) | frozensmilz | Shell Programming and Scripting | 2 | 01-07-2009 11:12 PM |
| sed command to delete row | anhtt | Shell Programming and Scripting | 9 | 10-14-2008 04:47 AM |
| Delete a block of text delimited by blank lines when pattern is found | gleu | Shell Programming and Scripting | 17 | 12-16-2007 10:30 PM |
| BAD SUPER BLOCK - Run fsck with alternate super block number | admin wanabee | HP-UX | 1 | 09-08-2006 01:57 PM |
| using sed(?) to delete a block of text | toast | Shell Programming and Scripting | 3 | 10-23-2005 01:30 AM |
|
|