Subject: Bug#376007: lintian: please err when maintscripts rely on /usr/share/doc

From: Justin Pryzby <[email-masked]>
Date: Thu, 29 Jun 2006 12:05:52 -0400

Package: lintian
Version: 1.23.8
Severity: wishlist

perl -0ne '/.*\b(cat|sed|cp)\b(.*\\\n)*.*\/usr\/share\/doc\/.*/ && print "$&\n"'

It would be nice to support variables, too:

perl -0ne '/\b(\w+)=.*\/usr(\/share)?\/doc\/(?s:.*)\b(cp|cat|sed)\b.*\1/ && print "$&\n"'