Jerome BENOIT wrote: > Bob Proulx wrote: > > Jerome BENOIT wrote: > > > Is there an easy way to get it from the .debian.tar.(gz|bz2|xz) ? > > > > $ tar xf emacs23-non-dfsg_23.4+1-1.debian.tar.gz --to-stdout > > debian/control | sed -n '/^Section:/{s/.* //;s@/.*@@p;q}' > > non-free > > You are faster than me. On the other hand, time delay was in your favour.
:-) > Let me continue, for the record: > > For debballs: > > $ dpkg --info | grep ^Section > > and so forth. Oh! I didn't know about that option. Neat! I learned a new feature. But that doesn't work on debian.tar.gz files. That works on .deb files. A different problem! :-) $ dpkg --info emacs23-common-non-dfsg_23.4+1-1_all.deb | grep ^Section: Section: non-free/editors Or if it is already installed: $ dpkg --status emacs23-common-non-dfsg | grep ^Section: Section: non-free/editors Bob
signature.asc
Description: Digital signature