On 01/15/2011 11:13 PM, Daniel Brown wrote:
On Sat, Jan 15, 2011 at 12:21, Nilesh Govindarajan<nilesh@xxxxxxxxxx> wrote:
On 01/15/2011 10:22 PM, Jim Lucas wrote:
Um, I use OpenBSD and that command gives me an error or two...
$ grep -l mail $(find -name *.php)
find: unknown option -- n
find: unknown option -- a
find: unknown option -- m
find: unknown option -- e
formmail.php
$ grep -l mail $(find ./ -name "*.php")
Output a big long list of files...
So the second one is right.
His point was in the irony --- you sent a rather insulting message
to the OP suggesting he needs to "revise [his] sysadmin skills,"
whereas your own example was broken. Probably just a typo, but
something worth a second thought for next time.
hahaha, that command wasn't broken. It works on Linux. But certain
commands have to be changed to work on *BSD.
For example, chmod u=rwx,g=rwx,o= directory -R will work on linux, but
will not on FreeBSD. It has to be changed to chmod -R u=rwx,g=rwx,o=
directory.
--
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php