In <loom.20090421t153051-...@post.gmane.org>, J.M.Roth wrote:
>Boyd Stephen Smith Jr. <bss <at> iguanasuicide.net> writes:
>> aptitude search '~i~M' | awk '{print $3}' > auto_installed_packages
>
>I'd rather do
>aptitude -F '%p' search '~i~M' > auto_installed_packages
>Your command does not work if the package state is e.g. 'i A'
>(note the space)

Actually, it only works in that case.  Of course, because of the search 
terms, all the packages will have status 'i A'.

Still, your command saves a fork, which makes it better in my book.
-- 
Boyd Stephen Smith Jr.                   ,= ,-_-. =.
b...@iguanasuicide.net                  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy         `-'(. .)`-'
http://iguanasuicide.net/                    \_/

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to