summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vsvs-map1
-rw-r--r--vsvs-sum1
2 files changed, 2 insertions, 0 deletions
diff --git a/vsvs-map b/vsvs-map
index 513310d..fec86f1 100644
--- a/vsvs-map
+++ b/vsvs-map
@@ -15,6 +15,7 @@ do
then
buf="${buf}"$'\n'"${val}"
elif [ -n "${buf}" ]
+ then
res="${res}$(echo -n "${buf}" | $1)"
buf="${val}"
fi
diff --git a/vsvs-sum b/vsvs-sum
index 4c67fe1..faeaa16 100644
--- a/vsvs-sum
+++ b/vsvs-sum
@@ -15,6 +15,7 @@ do
then
buf="${buf}"$'\n'"${val}"
elif [ -n "${buf}" ]
+ then
res="$(echo -n "${buf}" | $1 "${res}")"
buf="${val}"
fi