diff options
| author | Thomas (nezza-_-) Roth <thomas.roth@leveldown.de> | 2012-01-16 12:20:06 +0100 |
|---|---|---|
| committer | Thomas (nezza-_-) Roth <thomas.roth@leveldown.de> | 2012-01-16 12:20:06 +0100 |
| commit | 6040d72e2a438529f5850b68d1a87d54a3c96f45 (patch) | |
| tree | 8b17e64665ddad3193c15ef3865a65bfc593de20 | |
| parent | 7a41498b0d4f68c537d494b5f849913361315fde (diff) | |
| download | zsh-6040d72e2a438529f5850b68d1a87d54a3c96f45.tar.gz zsh-6040d72e2a438529f5850b68d1a87d54a3c96f45.tar.bz2 zsh-6040d72e2a438529f5850b68d1a87d54a3c96f45.zip | |
Fix the behaviour of the sprunge plugin so that is preserves whitespaces and tabs.
| -rw-r--r-- | plugins/sprunge/sprunge.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sprunge/sprunge.plugin.zsh b/plugins/sprunge/sprunge.plugin.zsh index 9f9432ac8..e542b437f 100644 --- a/plugins/sprunge/sprunge.plugin.zsh +++ b/plugins/sprunge/sprunge.plugin.zsh @@ -57,7 +57,7 @@ sprunge() { fi else echo Using input from a pipe or STDIN redirection... >&2 - while read -r line ; do + while IFS= read -r line ; do echo $line done | curl -F 'sprunge=<-' http://sprunge.us fi |
