summaryrefslogtreecommitdiffstats
path: root/filebin.sh
diff options
context:
space:
mode:
authorFlorian Pritz <f-p@gmx.at>2009-06-27 23:06:25 +0200
committerFlorian Pritz <f-p@gmx.at>2009-06-27 23:06:25 +0200
commitabc10fbca7ba6c55a6d7f44a364f0649be247112 (patch)
tree4dda10ca17c4a2958223b280243df0107b7354ab /filebin.sh
parentd5a0d54c7028244a68425d353817a219e77e576e (diff)
downloadbin-abc10fbca7ba6c55a6d7f44a364f0649be247112.tar.gz
bin-abc10fbca7ba6c55a6d7f44a364f0649be247112.tar.xz
fix bug with special chars in stdin
Diffstat (limited to 'filebin.sh')
-rwxr-xr-xfilebin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/filebin.sh b/filebin.sh
index a6d6635..7376997 100755
--- a/filebin.sh
+++ b/filebin.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#----------------------------------------------------
-# Version: 0.2.1
+# Version: 0.2.2
# Author: Florian "Bluewind" Pritz <f-p@gmx.at>
#
# Licensed under WTFPL v2
@@ -19,7 +19,7 @@ else
file=$(mktemp)
tmpfile=1
while read -r input; do
- echo $input >> $file
+ echo "$input" >> $file
done
fi