From e81d1da7740990fd56b745fda5fa04d894f13fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 5 Feb 2014 15:33:20 +0100 Subject: [PATCH] Support ':' in names/autonames --- fd-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fd-commit b/fd-commit index 9a8b51f3..0b5c665d 100755 --- a/fd-commit +++ b/fd-commit @@ -46,9 +46,9 @@ while read line; do name= autoname= while read l; do if [[ "$l" == "Auto Name:"* ]]; then - autoname=${l##*:} + autoname=${l#*:} elif [[ "$l" == "Name:"* ]]; then - name=${l##*:} + name=${l#*:} fi done < "$file"