![]() |
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 |
| set EDITOR=vi -> default editor not setting for cron tab | aarora_98 | Shell Programming and Scripting | 6 | 09-13-2008 02:01 AM |
| Need help on installing an EASY to use and easy to install command line text editor | EugeneG | UNIX for Dummies Questions & Answers | 4 | 07-16-2007 11:53 AM |
| Search command on vi editor | *Jess* | UNIX for Dummies Questions & Answers | 2 | 01-23-2007 10:05 PM |
| vim as command line editor | tony3101 | UNIX for Dummies Questions & Answers | 1 | 04-16-2004 05:50 AM |
| editor command | tselvanin | UNIX for Dummies Questions & Answers | 2 | 09-25-2003 02:46 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
vi editor - ex Command help
:1,10 s/yes/no/g
this ex command will substitute yes with no everytime it is found within the first 10 lines of the file. :s/yes/no/g this ex command will substitute yes with no everytime it is found for the line where the cursor is on my question is how could this substitution be performed on the whole file without knowing what the number of the last line is? thanks tD |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|