Commit 6040d72e authored by Thomas (nezza-_-) Roth's avatar Thomas (nezza-_-) Roth
Browse files

Fix the behaviour of the sprunge plugin so that is preserves whitespaces and tabs.

parent 7a41498b
...@@ -57,7 +57,7 @@ sprunge() { ...@@ -57,7 +57,7 @@ sprunge() {
fi fi
else else
echo Using input from a pipe or STDIN redirection... >&2 echo Using input from a pipe or STDIN redirection... >&2
while read -r line ; do while IFS= read -r line ; do
echo $line echo $line
done | curl -F 'sprunge=<-' http://sprunge.us done | curl -F 'sprunge=<-' http://sprunge.us
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment