24 May
2013
24 May
'13
12:27 p.m.
Jonathan Wakely wrote:
I didn't think the suggestion was that all files must have unix line endings, just that because some require them (e.g. shell scripts with a shebang) that line endings should be preserved. So if you're creating a new shell script with a shebang, it should use unix line endings, but then presumably you'll be creating such scripts on a unix-like OS anyway and this isn't a problem.
I recall that .cpp/.hpp files with Windows file endings don't work on Unix when, for example, some lines end with a backslash - only the CR is escaped.