file names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I was was looking into the file names and noticed that they are
not consistent.

Some files are named like:

foo-bar.[c/h]

Others are:

foo_bar.[c/h]

On top of the git directory:

# With dash
$ lc *.c | grep - | wc -l
72

$ lc *.h | grep - | wc -l
25

# With underline
$ ls *.c | grep _ | wc -l
5

$ ls *.h | grep _ | wc -l
1

So it seems from this data, there is a preference for naming files
using dash over underline.

So the question is, should the files using underline be converted to
use dash instead? And should this be documented somewhere? Maybe in
CodingGuidelines?

Thanks in advance.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]