summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]titles.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/titles.sh b/titles.sh
index 80d665a..374094a 100644..100755
--- a/titles.sh
+++ b/titles.sh
@@ -1,5 +1,6 @@
#!/bin/bash
export base="$(pwd)/"
export proc=$$
-vsvs-extract 'echo -n "$value" | vsvs-parse 'test "$key" == "title" && echo -n "$value" && exit 0'' data
+mkdir -p "$base/proc/$proc"
+vsvs-extract $'echo "$value" | vsvs-parse \'test "$key" == "title" && echo "$value"\'' data
rm -r "$base/proc/$proc"