find / grep to list files with php's short_open_tag

Suvayu Ali fatkasuvayu+linux at gmail.com
Fri May 10 07:41:03 UTC 2013


Hi Reindl,

On Thu, May 09, 2013 at 03:05:01PM +0200, Reindl Harald wrote:
> 
> because it does not work and i have no idea how to "mask" the LF for grep
> 
> [harry at srv-rhsoft:~]$ find /mnt/data/www/ -type f -name \*.php -exec grep -l -i -n -F "<?$" '{}' \;

Did you look at my response earlier?

<http://mid.gmane.org/20130509123904.GC6637@kuru.dyndns-at-home.com>

Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list