From c820bd5359dfafeebf56fd0119363358f70f2696 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Sun, 23 May 2021 17:09:13 -0700 Subject: [PATCH] modules/bashfaq.pl: factor out unnecessary $output --- modules/bashfaq.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/bashfaq.pl b/modules/bashfaq.pl index c7832f34..9fd7cb42 100755 --- a/modules/bashfaq.pl +++ b/modules/bashfaq.pl @@ -38,9 +38,8 @@ if (exists $faq{$query}) { if ($match) { my $id = sprintf "%03d", $match; - my $output = "https://mywiki.wooledge.org/BashFAQ/$id -- $faq{$match}"; print "$rcpt: " if $rcpt; - print "$output\n"; + print "https://mywiki.wooledge.org/BashFAQ/$id -- $faq{$match}\n"; } else { print "No matches found at https://mywiki.wooledge.org/BashFAQ\n"; }