-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line endings are converted to \r\n
#249
Comments
I would assume the same. It seems the data is already stored with CRLF line endings in the database as requesting the hex view shows the As a quick sidenote, your initial paste will expire so I'll include all relevant URLs here (by the way, your shebang is missing a
|
Yeah, I've probably mispasted it |
Ive uploaded a file (raw file here) to https://bpa.st/.
It's a Bash script and I even choose
Bash
from the programming language selector.Since I've made it on Linux with
nano
it hasLF
as line ending.But, when I do
wget https://bpa.st/raw/6V5Q
it is saved withCRLF
as line endings like if it was made on Windows, which breaks the script entirely.Example:
If I try to run the script that I just wget'd:
However, I've uploaded it to Debian pastebin (raw file here) and I use
wget https://paste.debian.net/plain/1309920
it is saved withLF
line endings.Example:
I assume that the issue comes from pinnwand itself?
The text was updated successfully, but these errors were encountered: