check filename witout regex

This commit is contained in:
Ville Rantanen
2020-12-04 17:13:21 +02:00
parent e73d763387
commit b49c324524

View File

@@ -32,7 +32,7 @@ _update() {
return
fi
if test -f "$file"; then
if grep -q " $file$" "$list_name"; then
if grep -qF " $file" "$list_name"; then
echo "$file: exist"
else
echo "$file: new"