[GRASS-dev] Re: GRASS 7 development started

Ivan Shmakov ivan at theory.asu.ru
Tue Apr 29 14:31:45 EDT 2008


>>>>> "WB" == Wolf Bergenheim <wolf+grass at bergenheim.net> writes:

 >> Once the final style is decided, it would be better for the change
 >> to be committed by someone with reasonable upload bandwidth, given
 >> that it's likely to affect the majority of C source files.

 >> Running indent on the entire source tree amounts to:

 >> find . -type f -name '*.c' | xargs indent <options>

 > find also has the nice -exec switch, which will allow you to have
 > find exec indent. It's probably a bit faster.

 > find . -type f -name '*.c' -exec indent <options> {} \;

	Actually, it'd most probably be a bit /slower/, as `find' will
	fork () & exec () `indent' for each file it finds, while `xargs'
	will only fork () & exec () for each N files (where N depends on
	a system, but typically > 10.)

 > I can do that, I have a 10 Mb connection.

	No objection on that, once the style is decided.



More information about the grass-dev mailing list