[SGVLUG] online search: How To Search Java Script Code?

Matthew Campbell dvdmatt at gmail.com
Sat Jan 8 15:09:12 PST 2011


If you have the source this may be a more efficient way:

find /<sourcedir> -print -exec grep <string> \{\} \; > /tmp/output.txt 2>&1
vi +/<string> /tmp/output.txt
Matt

On Sat, Jan 8, 2011 at 2:59 PM, matti <mathew_2000 at yahoo.com> wrote:
>> > Attempting to search for a unique string in the Java
>> > Script Code of a website.
>>
>> > Any suggestions?
>>
>> wget and grep?
>
> that would work, though in this case
>
> It's a large website, and I would prefer not to
> download all the possible pages to find the
> few pages which may have the search string.
>
> thanks!
> matti
>
>
>
>
>



-- 
Matthew Campbell
818.314.9897 (M)
dvdmatt at gmail.com


More information about the SGVLUG mailing list