summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-12-03 15:40:35 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-12-03 15:40:35 +0300
commit257fc365155c34484d6d9cc52014c7e98c27d003 (patch)
tree8cc2c3a98fefc177b5ab49627a28768ffeca2676
parent56079f9e4ab71145d095c5a7ba0ecdea7be1128d (diff)
downloadvsvs-257fc365155c34484d6d9cc52014c7e98c27d003.tar
vsvs-257fc365155c34484d6d9cc52014c7e98c27d003.tar.xz
vsvs-257fc365155c34484d6d9cc52014c7e98c27d003.zip
.
-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