[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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"'



Reply to: