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

Re: Get list of installed packages



On 06/02/2014 13:12, Gian Uberto Lauri wrote:
> (you could use grep -e '^ii') or egrep '^ii', but I think it's not
> worth the cpu used).

You don't need -e to use anchors in the regex. Whilst -e would use more
CPU than a plain grep, the anchor would likely reduce the work done
(lines can be matched or discarded on the first character)


Reply to: