pkgsearch: handle non-matching lines gracefully
commit0f24390fe8967f25d7fce4665d5b635fa66a3c4f
authorDan McGee <dan@archlinux.org>
Mon, 24 Jan 2011 21:20:10 +0000 (24 15:20 -0600)
committerDan McGee <dan@archlinux.org>
Mon, 24 Jan 2011 21:20:10 +0000 (24 15:20 -0600)
treedffb60c277eb886cf9b374c3630c110855ac41b0
parentd6a997ee383a8228a0f5bf18af56febb7b6bc189
pkgsearch: handle non-matching lines gracefully

Before any non-matching line would trigger some perl warnings about
undefined variables. If a line doesn't match, just show it to the user
unprocessed; this is seen with warning and error messages pacman not so
helpfully emits on stdout rather than stderr.

Signed-off-by: Dan McGee <dan@archlinux.org>
contrib/pacsearch.in