On Apr 6, 12:39 am, ralph <
nt_consultin...@yahoo.net> wrote:
......
>
> The GPL is a virus that eventually taints everything it touches. <g>
>
> But if you are only using it for your private amusment - who's to
> know? The purest will point out that you are still breaking the law,
> but again if a tree falls and no one's around to hear it - who cares?
>
......
>
> -ralph
I fired up Eclipse yesterday to try a sample Template program. Eclipse
displayed a dialog and asked me if it can send my project activity to
them, and added that it is part of the agreement that I agreed to when
installing it. I just hope that Eclipse took only the small code
sample test projects I used Eclipse for, and not my entire CPP project
directory.... (it probably did the right thing).
------------------------------------------------------------------------------------------------
OTOH, I found some great Unix-style greps for Windows in the: drive:\D:
\Eclipse\msys\1.0\bin directory.
--which may mean that it came from the MinGW package ... not
sure.
For those who don't know, grep is a(n old but very useful) program
that finds strings in files. An example:
grep -iFe 'cpp' -w --directories=recurse --color=auto -exclude=*.j* d:
\nts\dirtosearch
where:
-i - ignore case distinctions
-F - use this. grep is for everything, fgrep is for text finds. they
want you to use grep -F these days, as an equivalent.
-e - search using a regular expression / use PATTERN for matching
-'cpp' - the arg to search for
-w - look for whole words / force PATTERN to match only whole words
--directories=recurse - recursive search
--color=auto - automatically color the search strings found in the
results
-exclude=*.j* - exclude certain files by pattern. Here, exclude
all .jpeg, .jpg files.
d:\nts\dirtosearch - the drive and directory to recursively search
through
help syntax: grep --help
...just be careful, as some options have one dash preceding them, and
some have two.