this is a grep command to find all the files with lines that have cold fusion commands
grep -R --include="*.cf" -e "<cf.*>" /home/user/public_html
and you can extract the names of all the commands by using this regexp
/<cf\w+(?>)/
i wrote a ruby script to find all the commands that were being used by a system that has been having problems... hopefully this will lead to finding a system issue we are having.
Tuesday, February 06, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment