![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| replace last / by | | naikaa | Shell Programming and Scripting | 6 | 01-17-2008 02:19 AM |
| using sed to replace ' with ` | mr_dba01 | Shell Programming and Scripting | 2 | 08-08-2007 08:24 AM |
| How to replace ?? | preethgideon | UNIX for Dummies Questions & Answers | 10 | 02-19-2007 12:08 PM |
| Replace \n with \r\n | Chanakya.m | Shell Programming and Scripting | 3 | 07-19-2006 07:20 AM |
| what to replace XP with? | byblyk | Linux | 2 | 05-23-2005 07:46 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
||||
|
Why count lines, use markers instead.
1) Go to the 1st line in range and type in ma 2) Go to the last line in range and type in mb 3) Then do the substitution :'a,'b s/^/*/ |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| vim |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|