> This problem is as old as the typewriter itself. The trouble is that a
> Tab character doesn't have a fixed size - some set it to 3 characters
> wide, some to 4 some to 8, or whatever.
>
> The 'indent' program was written a couple of decades ago, to pretty
> print C code. It has a 'GNU' standard, but I'm not aware of a 'Linux'
> standard. Anyhoo, the only way to prevent indentation wars is to use
> spaces, not tabs and to set 'diff' to ignore white space when comparing
> files...
indent itself dosen't have a 'Linux standard' BUT .../linux/scripts/Lindent
is there to get things right (in terms of CodingStyle)
I don't know if is usinging it or even if it is still current but it's a
starting point.
Yours Tony
Jan 22-25 2003 Linux.Conf.AU http://linux.conf.au/
The Australian Linux Technical Conference!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/