Re: RFD: translated description with dpkg
>>"Steve" == Steve Greenland <stevegr@debian.org> writes:
Steve> I doubt very many people go around browsing random .debs with
Steve> 'dpkg-deb -I'.
You gotta be kidding.
======================================================================
__> less /home/srivasta/bin/lessopen
#!/bin/bash
# Decode directories:
if [ -d "$1" ]; then
echo "$1:"; ls -als $1
else
case "$1" in
[SNIPPAGE]
*.deb)
echo "$1:";
if [ -x /usr/bin/dpkg ]; then
dpkg --info $1;
echo -e '\n*** Contents:';
dpkg-deb --contents $1
else
echo -e '\n*** Control:';
ar -p $1 control.tar.gz | tar zvvft -
echo -e '\n*** Contents:';
ar -p $1 data.tar.gz | tar zvvft -
fi
;;
======================================================================
manoj
who peeks into debs all the time
--
progasm: the feeling you get when your code works the first time
uunet!sugar!karl (hm) Keeping 255 messages and deleting
158. karll@sco.com (wk) re
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: