Skip to content

Pastebin adds \r to files, brakes provisioning scripts #10

@phuhl

Description

@phuhl

When using pastebin for provisioning scripts, the file does not work as pastebin adds \r to every line ending, resulting in a script that does not work.

A simple solution could be to remove all \r when the provisioningscript url contains pastebin.com.

https://www.koszek.com/blog/2015/10/05/pastebin-adds-dos-newline-on-snippet/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions