View previous topic :: View next topic
|
Author |
Message |
ravi kumar N
New User
Joined: 13 Jun 2006 Posts: 1 Location: vizag
|
|
|
|
Hi
In order to search for a STRING in a orginal source genrally we issue Find command but it display STRING along with remaining lines of code but we want to see only matching lines of code we can issue following command
X all;F String
Leaders never stop learning......
Thanks
Ravi.N |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You probably meant: X ALL ; F string ALL...
O. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi All,
I hi-jacked my PF1 key and put the following in it:
x all;f all
Now, anytime I want to see all occurances of a string I just enter the string in the cmd line.
Ok, so I lose help. Big deal! I can always enter "help" in the cmd line when I need it.
PS - You can enter 'string' 22 to display all occurances of string that begin in column 22
You can enter 'string' .a .b to display all occurances of string between the labels .a and .b
You can enter 'string' .zf .a to display all occurances of string between the 1st line and .a
You can enter 'string' .a .zl to display all occurances of string between .a and the last line.
PPS - The .zf and .zl labels don't have to be coded, they are implied. |
|
Back to top |
|
|
|