ignore empty lines and #comments in tag-list.csv

This commit is contained in:
2018-07-19 10:43:10 +02:00
parent 3d7b4d40fb
commit e5c0bff6f7
2 changed files with 3 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ function notmuch_rule {
}
while read line; do
if $(echo "$line" | grep -qE "^\s*#|^\s*$"); then continue; fi
TAG=$(echo $line | cut -d";" -f1)
FOL=$(echo $line | cut -d";" -f2)