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

Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

OSGeo4W
#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.

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev
Reply | Threaded
Open this post in threaded view
|

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

OSGeo4W
#584: Batch files should not have Unix-style EOL
-------------------+----------------------------
Reporter:  TobWen  |       Owner:  osgeo4w-dev@…
    Type:  defect  |      Status:  new
Priority:  minor   |   Component:  Installer
 Version:          |  Resolution:
Keywords:          |
-------------------+----------------------------
Changes (by jef):

 * priority:  major => minor


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

_______________________________________________
osgeo4w-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev