Senthil Kumaran wrote:
Hai,
 
How can write a code to search a particular string in an file..
 
 
Each line is considering a full string..........
 
So if i use Locate or Find function, i cant found a particular string which i am searching in the line..
 

FINDSTR statement : http://www.jbase.com/knowledgebase/manuals/3.0/30manpages/man/jbc2_FINDSTR.htm
REGEXP function: http://www.jbase.com/knowledgebase/manuals/3.0/30manpages/man/jbc2_REGEXP.htm
jgrep shell command
SEARCH shell command
EXECUTE "awk '{ myawkscript}' | grep stuff |sort -nr | mail /dev/[email protected]"
...etc ;-)


Guys: Don't forget the knowledge base at: http://www.jbase.com/knowledgebase/index.html - always search here first for stuff like that, then don't forget the group search facility at the Google list home page (see URLS at bottom of this post).


JIm
--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to