check filename witout regex
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user