I got a noob question, tried to look on the internet without success. Look the following notice:
Now, how many characters are in one line ? I opened my text editor to the figure this out and got this crazy thing:
Your question cannot really be reasonably answered. You're kind of asking the wrong question here.
There is no constant number of characters per line. A line, in the general, technical sense, can be an arbitrarily long sequence of characters that ends with a newline character
In source code, this is also coupled with the difficulty of determining what exactly a line of code is. Do source code comments, that aren't actually code, i.e. processing instructions, count? Do empty lines (lines with only whitespace) count? For source code, there's a metric called Source Lines of Code, or SLOC. This article has some more information about it.
In a linked article, the H states:
So it's really the number of newline characters, including comments, empty lines, etc. of all files excluding the revision control metadata (git) files. This measures the physical lines (counting the
Well, for the linux kernel, there is actually a hard limit of 80 characters per line enforced.
However, you can figure out the average line length by taking the the file sizes and dividing by the rough number of lines (or using any line/character tool such as wc)