Re: Apt and rsync... I know...
On Sun, Jan 18, 2004 at 05:40:45PM -0800, Matt Zimmerman wrote:
[snip]
> mizar:[~] apt-cache show bash | grep-dctrl -sPackage,Version,Source ''
Well, you all know how to write scripts, but here's what I had plus that
information:
if [[ "${1:0:3}" == "lib" ]]; then TAG=${1:0:4}
else TAG=${1:0:1}; fi
VER=`apt-cache show $1 | grep-dctrl -sSource '' | \
sed -r "s/.+\((.+)\)/\1/"`
URL=http://packages.debian.org/changelogs/pool/main/$TAG/$1/$1_$VER/changelog
wget -O- $URL 2> /dev/null
Reply to: