« May 2006 | Main | July 2006 »

June 17, 2006

Ruby on Rails - shaky

Sadly, I stil lfind that RoR is not stable enough on Windows - or at least I dont have the time to make it so, which amounts to the same thing!

I'm not giving up on it - we're on a break!

Posted by dottie at 8:30 PM | Comments (0)

June 13, 2006

Linux - searching inside files

If you need to find a list of files that contain a certain string on a Linux box the following is useful:

find . -name '' -exec grep 'String To Search For' {} \;

you can also do this:

find . -name '*.filext' -exec grep 'string here' {} \;

which would limit the results to showing only those files that contain the search string and also end in '.filext'

Update:

Also the following works on other versions of Linux shells (bash?):

find . -exec grep "woteva" '{}' \; -print

and case insensitive just chuck in the regexp 'i' - I guess the other regexp directives would do their thing also:

find . -exec grep -i "woteva" '{}' \; -print

Posted by dottie at 4:01 PM | Comments (2)