summaryrefslogtreecommitdiff
path: root/vsvs-map
diff options
context:
space:
mode:
Diffstat (limited to 'vsvs-map')
-rw-r--r--vsvs-map29
1 files changed, 0 insertions, 29 deletions
diff --git a/vsvs-map b/vsvs-map
deleted file mode 100644
index dbe1ecb..0000000
--- a/vsvs-map
+++ /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="${res}$(echo -n "${buf}" | $1)"
- fi
- buf="${val}"
- fi
-done
-if [ -n "${buf}" ]
-then
- res="${res}$(echo -n "${buf}" | $1)"
-fi
-echo -n "${res}"