View Single Post
  #3   (View Single Post)  
Old 20th October 2013
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
Join Date: Apr 2008
Location: New Zealand
Posts: 2,201

The first bit can be simplified to grep -H '5\.12' /var/db/pkg/p5-*/+CONTENTS

sort | uniq is the same as sort -u
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.

Last edited by Carpetsmoker; 21st October 2013 at 01:03 PM.
Reply With Quote