[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to list long package names?


	Well, I do not really know of a solution, really, but seeing
 that I perpetrated this problem, (and I don't want to work on my tax
 return),  I worked this out on the command line (who needs editors?)
 Pardon me for being cryptic, but long variable names make to much of
 the command line scroll off.

	This does work. But the real answer is that we have to wait
 for a re-written dpkg for a solution. I am sorry for any
 inconvenience caused.


__> perl -e '$/="\n\n"; for (grep (/install ok install/, grep (/Package: kernel-source/, <>))) {/Package:\s+(\S+)/ && print "$1\n";}' /var/lib/dpkg/status
 "In the cafeteria just after lunch, (well, not *just* after, more
 like *during* lunch, about 12:28; say 12:30, give or take a few
 minutes), I leaned back in my chair (it was one of those aluminum
 chairs, good strength-to-weight, like titanium but not quite; but
 then of course titanium would be a bit of an overkill).  Anyway, I
 heard one of the girls talking about how boring she thought engineers
 could be." Alan Denney (aland@informix.com)
Manoj Srivastava               <url:mailto:srivasta@acm.org>
Mobile, Alabama USA            <url:http://www.datasync.com/%7Esrivasta/>

Reply to: