From b56c273d8198ae6cee69bbc9fe5a6a61da4074e4 Mon Sep 17 00:00:00 2001 From: "Douglas B. Rumbaugh" Date: Sat, 6 Jun 2026 12:26:27 -0400 Subject: Code cleanup --- bib-add | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bib-add') diff --git a/bib-add b/bib-add index 28ebf82..02a079e 100755 --- a/bib-add +++ b/bib-add @@ -44,7 +44,7 @@ awk -f "$LIB/bib-parse.awk" -f "$LIB/bib-lskeys.awk" "$tmp" > "$tmpkeys" if [ -f "$db" ]; then dups=$(awk -f "$LIB/bib-parse.awk" -f "$LIB/bib-lskeys.awk" "$db" \ - | grep -Fxf "$tmpkeys") || dups= + | grep -Fxf "$tmpkeys") if [ -n "$dups" ]; then if [ "$force" -eq 1 ]; then # rewrite the database without the entries being replaced -- cgit v1.2.3