> I am trying to search a text file with a specified string,and > i am having trouble doing it. I assume grep can't be used for some reason? > I tried with re, and having lots of trouble > for example if a text contain strings "abc" it will print out > all the string starting with abc. So what do you want it to do instead? Alan G