[osgeo4w-dev] [osgeo4w] #584: Batch files should not have Unix-style EOL

OSGeo4W trac_osgeo4w at osgeo.org
Thu Nov 8 05:17:32 PST 2018

#584: Batch files should not have Unix-style EOL
Reporter:  TobWen  |      Owner:  osgeo4w-dev@…
    Type:  defect  |     Status:  new
Priority:  major   |  Component:  Installer
 Version:          |   Keywords:
 == bug
 Some of the batch files in `%OSGEO4W_ROOT%\etc\ini` do have Unix-style EOL
 (just line feed `\n`). While this might work fine for single line batch
 files, it could be a problem in multi line files.

 == example
 An example is the current ''gdal.bat'', which has two lines and makes
 trouble when viewing or editing with standard Windows editors (this might
 change in Windows 10).

 == fix
 Please use the common Windows style line endings for batch files: carriage
 return and line feed `\r\n`

 == glossar
 EOL = end of line character(s)

Ticket URL: <https://trac.osgeo.org/osgeo4w/ticket/584>
OSGeo4W <http://trac.osgeo.org/osgeo4w>
OSGeo4W is the Windows installer and package environment for the OSGeo stack.

More information about the osgeo4w-dev mailing list