12-21-2016, 10:50 AM
|
|
|
Too lazy to set a custom title
Industry Role:
Join Date: Jun 2006
Posts: 11,598
|
Quote:
Originally Posted by Barry-xlovecam
$ awk '{print length, $0}' new-key-phrases.txt|perl -e 'print sort { length($a) <=> length($b) } <>'|sed -r 's/\s+/,/'|sed -e 's/,/,"/g' -e 's/$/"/g'
Returns;
3,"sex"
4,"earn"
4,"live"
5,"adult"
5,"deals"
5,"money"
6,"webcam"
7,"program"
8,"lifetime"
9,"affiliate"
9,"all adult"
9,"customers"
9,"xlovecash"
10,"promo code"
|
A lot easier to understand....

|
|
|