I want to search for the occurrence of 100169200

I typed /100169200 but vi says Pattern not found

Edit

Since the question has been downvotes, I would like to make it clear that grep can find the number in the file, but vi does not.

Edit 2

For the sake of it, I download vim for windows, and it can find it. However vi in Solaris still does not work.

link|improve this question
have you tried vimgrep? – MaQleod Aug 5 '11 at 5:00
I'm sorry Rosdi, but the number you are looking for is in another castle. – Janne Pikkarainen Aug 5 '11 at 5:08
Why the downvotes? Was the question not valid? As I said.. grep can find it, but vi doesn't. – Rosdi Aug 5 '11 at 6:19
1  
What if you try to search for anything else with vi? Can you find it? Try searching for a word or number or definitely see with your own eyes while in vi. If that does not help, then you have some very strange problem. Oh, and about the downvotes: usually questions with only couple of lines in them tend to get downvotes easily. The more descriptive question, the easier to answer. – Janne Pikkarainen Aug 5 '11 at 6:42
@Rosdi: The four votes to close as off-topic should give you a hint as to the downvotes. – womble Aug 5 '11 at 7:17
show 1 more comment
feedback

closed as off topic by womble, Zoredache, ErikA, Shane Madden, Janne Pikkarainen Aug 5 '11 at 8:06

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

1 Answer

Then the number isn't in the file you searched.

link|improve this answer
It is there when I grep it... I want to search in vi so that I can move back and forward. – Rosdi Aug 5 '11 at 5:08
1  
You can search in less as well... – SvenW Aug 5 '11 at 7:14
@SvenW thanks for the tip.. it works. vi still does not. – Rosdi Aug 5 '11 at 8:02
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.