New answers tagged vi
It's a bug. Any class name that is 5 characters long (i.e. all of them except xdigit) is interpreted as alnum, all for the lack of one little character. The patch is simple: --- regex/regcomp.c~ +++ regex/regcomp.c @@ -819,7 +819,7 @@ NEXT(); len = p->next - sp; for (cp = cclasses; cp->name != NULL; cp++) - ...
Place the cursor over the semicolon and use x to delete it. (I assume that you're referring to vi's visual mode (as distinct from its ex mode), and not Vim's VISUAL mode.) If you really want to do this with multiple lines at once, then you'll have to resort to a colon-command. If you're using Vim, then @Greg Hewgill's answer is the one for you. If you're ...
It sounds like the easiest way to do this for multiple lines is to mark the block in visual mode and then: :'<,'>s/;$// Note that the '<,'> means "from the beginning of the visual block to the end" and is added automatically when you press : while in visual mode.
You can simply open the editor by typing vi This will open the default page that shows the version number.
You can try the below command to replace the text, :%s/old-text/new-text/g :%s/BNS S&P\/TSX60 ROC,SERIES/S&P\/TSX60 ROC SERIES/g Please note, slashes must be escaped with backslashes. Hope this helps !!!
Top 50 recent answers are included