[wellylug] If you are stuck for ideas for a lightning talk session

Pedro Worcel pedro at worcel.com
Thu Feb 13 10:27:17 NZDT 2014


mine is far more artistic

dpkg --get-selections | head -n 1 | awk '{$1}' | echo 'randompackage'


2014-02-13 9:20 GMT+12:00 Douglas Bagnall <douglas at halo.gen.nz>:

> Hugh Davenport wrote:
> > dpkg --get-selections | cut -f1 | sort -R | head -1
>
> dpkg-query -W | cut -f1 | sort -R | head -1
>
>
> dpkg-query -Wf'${Package}\n' lets you drop the `cut -f1`, but it
> isn't shorter.
>
> Maybe you'd prefer to talk about something you actually use:
>
> apt-cache pkgnames | sort -R | head -1
>
>
> Douglas
>
> >
> > And some spaces could be removed around the |'s
> >
>
>
> --
> Wellington Linux Users Group Mailing List: wellylug at lists.wellylug.org.nz
> To Leave:  http://lists.wellylug.org.nz/mailman/listinfo/wellylug
>



-- 
GPG: http://is.gd/droope <http://is.gd/signature_>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20140213/ffeda239/attachment.html>


More information about the wellylug mailing list