]> git.plutz.net Git - lobster/blobdiff - pdiread.sh
updated escape vcf functions
[lobster] / pdiread.sh
index f547cb689c1857d4397e9d7565cedc4f3ba0000a..58baa88dac998826f5bb886b882bb322839a9459 100755 (executable)
@@ -26,16 +26,6 @@ include_pdi="$0"
 BR='
 '
 
-unescape() {
-  local unescape='s;(^(\\\\)*|[^\\](\\\\)*)\\n;\1\n;g; s;\\(.);\1;g'
-  if [ $# -eq 0 ]; then
-    sed -E "$unescape"
-  else
-    printf %s "$*" \
-    | sed -E "$unescape"
-  fi
-}
-
 pdi_load() {
   # normalise PDI file for processing with pdi_* functions
   # functions in this library can only be applied to normalised data