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

Re: get software list of one software repository



On 2015-09-08, Clive Standbridge <list-user@tgstandbridges.plus.com> wrote:
>
> Just awk without a grep, e.g.

Hey, that's right.  L'arroseur arrosé!

> awk -F ": " '/Package/{print $2}' /var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages

> There's no need for a separate grep to match patterns, when awk has
> perfectly good pattern matching itself. :-)
>

That's what I get for being a smartass.


Reply to: