Skip to main content

Visual Code

Poblem mit bash Skripten und Zeilenumbruch mit Windows typischen "\r"

 

Lösung:

Edit: Jan 3, 2022. As VSCode is mentioned several times. Go to settings in VSCode and type files.eol in the search field and set to \n (Unix format). Note that this changes this for your user or workspace for all files and it may not be what you want. YMMV.

Quelle: https://stackoverflow.com/a/32973565