#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2008
    Posts
    454
    Rep Power
    34

    Search pattern in filles


    Hi ,

    i have word like initialize_my_var: in sample.php

    and i included three library files, take it as a.php, b.php, c.php ,

    i really dont know where is my label(initialize_my_var: ) definition present in my library

    files, is it possible with pattern matching string to find which library file really have the

    exact TERM initialize_my_var: , i really looking exact pattern match ,
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,424
    Rep Power
    4539
    grep can locate your text string and tell you what file it's in

    Or use Eclipse PDT or another IDE that offers an object and function browser.
    ======
    Doug G
    ======
    The man who doesn't read good books has no advantage over the man who can't read them.
    --Mark Twain

IMN logo majestic logo threadwatch logo seochat tools logo