summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/meta-rip6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/meta-rip b/tools/meta-rip
index 4041feb..d91195a 100755
--- a/tools/meta-rip
+++ b/tools/meta-rip
@@ -34,6 +34,12 @@ then
exit
fi
+# Trim leading spaces
+cookie=$(echo "$cookie" | sed -e 's/^[[:space:]]*//')
+filename=$(echo "$filename" | sed -e 's/^[[:space:]]*//')
+author=$(echo "$author" | sed -e 's/^[[:space:]]*//')
+description=$(echo "$description" | sed -e 's/^[[:space:]]*//')
+
echo "Cookie: $cookie"
echo "Filename: $filename"
echo "Author: $author"