summaryrefslogtreecommitdiff
path: root/vsvs-sum
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-12-05 11:35:52 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-12-05 11:35:52 +0300
commitf229b632cbc31c5efad109589cd36b07bcd48817 (patch)
tree92da049922bddf00190ffa26f883e637a9469893 /vsvs-sum
parent4fcb7a47787e26b54ef8b786c7b07cee3fd49819 (diff)
downloadvsvs-f229b632cbc31c5efad109589cd36b07bcd48817.tar
vsvs-f229b632cbc31c5efad109589cd36b07bcd48817.tar.xz
vsvs-f229b632cbc31c5efad109589cd36b07bcd48817.zip
.
Diffstat (limited to 'vsvs-sum')
-rw-r--r--vsvs-sum29
1 files changed, 0 insertions, 29 deletions
diff --git a/vsvs-sum b/vsvs-sum
deleted file mode 100644
index 1684dd8..0000000
--- a/vsvs-sum
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-res=""
-buf=""
-while IFS="" read str
-do
- if [ -z "${str##* *}" ]
- then
- key="${str%% *}"
- val="${str#* }"
- else
- key="${str}"
- val=""
- fi
- if [ -z "${key}" ]
- then
- buf="${buf}"$'\n'"${val}"
- else
- if [ -n "${buf}" ]
- then
- res="$(echo -n "${buf}" | $1 "${res}")"
- fi
- buf="${val}"
- fi
-done
-if [ -n "${buf}" ]
-then
- res="$(echo -n "${buf}" | $1 "${res}")"
-fi
-echo -n "${res}"