venkat wrote: > Hi Jim, > First of all thanks for the reply. I still have my query as it is. > Your command might help me to search the string in all the directories > that is like *.BP, but i might also have directories that is not named > as .BP ( example there could be a directory that is ABC and not > ABC.BP) so, then if i need to search in the routines of that > directory, then how that is acheived? > This is just standard UNIX stuff; I was just trying to give you the general feel. Try reading though:
http://www.softpanorama.org/Tools/Find/find_mini_tutorial.shtml But basically, if you do not know what the directory names are, and you do not know of a list of patterns that will identify them, then you are not going to get very far :-) find -name can take more than one pattern to find the directories, then you can pipe that to another command, such as grep, or another find and ask that command to search all the files in that directory etc. Read up on find and grep. 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 -~----------~----~----~----~------~----~------~--~---
