[asterisk-dev] Coding guidelines change (proposed)

Caio Begotti caio at ueberalles.net
Tue Feb 26 19:08:50 CST 2008


On 26/02/2008, at 18:20, Tzafrir Cohen wrote:
>> micron:/usr/src/asterisk-1.4 # grep if */*.c | grep -v "\{"
>>
> So you're saying that there's bad indentation here?

I guess this is what Sergey meant, perhaps:

$ grep -rn if */*.c | grep -v '{' | wc -l
    21422 (matches)

$ grep -r if */*.c | grep -v '{' | sed 's/:.*$//' | sort | wc -l
      283 (files)

Too many places in too many files to work on, if the command's result  
is accurate. It's like a huge blinking billboard with "if I were you  
I wouldn't dare" written on it.

--
Caio Begotti <http://caio.ueberalles.net>




More information about the asterisk-dev mailing list