Skip to content

Windows newlines on Linux #6

@cimm

Description

@cimm

The first script I tried, inline-script-tags, didn't work on my Ubuntu 20.04 Linux box. I got the following error:

/usr/bin/env: ‘node\r’: No such file or directory

The \r is a DOS style carriage return which Linux doesn't handle well. I replaced them with Linux-style newlines and now it works. This can easily be changed in vim with:

vim "$(yarn global bin)/inline-script-tags"
:se ff=unix
:wq

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions