J
jacob navia
I am developing in the Mac OS X (10.7) system, and it has some nice
features that I hadn't seen in any windows/unix system.
One of them is the "mdfind" utility that is incredibly powerful:
mdfind some-identifier
will look in the whole machine for "some-identifier" and write you in
standard output the name of all files that have a match. It is like
grep -R "some-identifier" /*.*
but it comes back in seconds instead of hours like grep.
It is very useful, and I never found something even remotely equivalent
under linux/sun os
Another nifty thing is the splint code checker. (This one is probably
present under linux also but I never saw it under windows)
The problem with it is that it is incredibly verbose, swamping the
few interesting diagonstics under a mountain of rubbish. After a long
session with it I have trimmed it to give me reasonable short output.
I put all options in a shell script:
/bin/sh
splint -formatconst -dependenttrans -globstate -compdef -mayaliasunique
-paramuse +boolint -immediatetrans -retvalother -noeffect
-unqualifiedtrans -compdestroy -temptrans -branchstate -usereleased
-kepttrans -compmempass -nullstate -nullpass -nullret -boolops
-mustfreeonly -incondefs +charint -retvalint -predboolint -realcompare $1
features that I hadn't seen in any windows/unix system.
One of them is the "mdfind" utility that is incredibly powerful:
mdfind some-identifier
will look in the whole machine for "some-identifier" and write you in
standard output the name of all files that have a match. It is like
grep -R "some-identifier" /*.*
but it comes back in seconds instead of hours like grep.
It is very useful, and I never found something even remotely equivalent
under linux/sun os
Another nifty thing is the splint code checker. (This one is probably
present under linux also but I never saw it under windows)
The problem with it is that it is incredibly verbose, swamping the
few interesting diagonstics under a mountain of rubbish. After a long
session with it I have trimmed it to give me reasonable short output.
I put all options in a shell script:
/bin/sh
splint -formatconst -dependenttrans -globstate -compdef -mayaliasunique
-paramuse +boolint -immediatetrans -retvalother -noeffect
-unqualifiedtrans -compdestroy -temptrans -branchstate -usereleased
-kepttrans -compmempass -nullstate -nullpass -nullret -boolops
-mustfreeonly -incondefs +charint -retvalint -predboolint -realcompare $1