Opened 2 years ago

Last modified 2 years ago

#584 new defect

Batch files should not have Unix-style EOL

Reported by: TobWen Owned by: osgeo4w-dev@…
Priority: minor Component: Installer
Version: Keywords:
Cc:

Description

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)

Change History (1)

comment:1 Changed 2 years ago by jef

Priority: majorminor
Note: See TracTickets for help on using tickets.