On Wed, 15 Dec 2021 20:00:41 +0100, Patrice Duroux wrote: > So maybe too much ambitious but let's see what I can get regarding what is > actually available in Debian and if I can dress something up at least like a > new > track for Debian QA in a similar section to https://trends.debian.net/ while > also providing a command line tool to get this NEWS content about a package > (whatever if it the one providing this content or a «relative», based on the > same source package).
I'm not sure what you are really after, but maybe this helps: grml's zsh config has a nice function dneews: % which dnews dnews () { emulate -L zsh if [[ -r /usr/share/doc/$1/NEWS.Debian.gz ]] then $PAGER /usr/share/doc/$1/NEWS.Debian.gz else if [[ -r /usr/share/doc/$1/NEWS.gz ]] then $PAGER /usr/share/doc/$1/NEWS.gz else echo "No NEWS file for package $1 found, sorry." return 1 fi fi } Cheers, gregor -- .''`. https://info.comodo.priv.at -- Debian Developer https://www.debian.org : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06 `. `' Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe `- NP: Rigmor Gustafsson: Is It A Crime
signature.asc
Description: Digital Signature