How to use VI to search for lines less than a certain length? -


i know how use vi find lines longer number of characters:

/\%>80v.\+ 

but how search lines shorter number of characters?

use

/^.\{,25}$/ 

to find lines shorter 25 characters.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -