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.
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
Post a Comment