|
|
List Full Download History of Your Mac
It works in 10.6 if you change it slightly, removing the "V*"
If you add | uniq after the end, it will present them un-sorted, but with duplicate lines removed (which, in effect, removes all the duplicate blank lines).
Grep or distinct to filter blank lines
I used
grep -v '^$' at the end to filter the blanks. Using uniq didn't seem to work. Using select distinct also works.
Grep or distinct to filter blank lines
Great tip (and the
grep bit is a great addition)!Now I can only wish Apple will keep the Terminal app for a long, long time (I would hate to see it disappear just because 'Average users can screw their computer with it' and because iOS doesn't have such a fine app)...
Grep or distinct to filter blank lines
uniq requires the duplicate lines to be consecutive. Otherwise they aren't removed. Another option is sort -u, but that will reorder the list. You could get complicated by printing the date column as well, then radix sort, uniquely on the URL column, and then non-uniquely by the date column.---
i am jack's amusing sig file |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.13 seconds |
|