top | item 31671343 (no title) grifball | 3 years ago $ cat com.txt | sed 's/^\(\S*\.com\)\.\s.*/\1/' | sort | uniq A bit easier than a ruby script discuss order hn newest gouggoug|3 years ago cat com.txt | cut -d' ' -f1 | sort | uniq Would work as well since there's no whitespace in the first column
gouggoug|3 years ago cat com.txt | cut -d' ' -f1 | sort | uniq Would work as well since there's no whitespace in the first column
gouggoug|3 years ago