InterviewSolution
| 1. |
How Do I Search For Text? |
|
Answer» /<text> will search forward. ?<text> will search backwards. ?? or // will REPEAT the last search. It is worth NOTING that these are pretty much standard in Unix. In addition, in vi, n will find the next occurrence. N will repeat the last search, REVERSING the direction. Regular EXPRESSIONS may be used WITHIN searches. /<text> will search forward. ?<text> will search backwards. ?? or // will repeat the last search. It is worth noting that these are pretty much standard in Unix. In addition, in vi, n will find the next occurrence. N will repeat the last search, reversing the direction. Regular Expressions may be used within searches. |
|