Would someone mind briefly explaining to me the difference between the various permutation options in sublime? The Unique option appears simply to delete duplicate lines, but I am unsure what method of sorting is being emploted in the other options.
Differences in permutation options
jfcherng
#2
- Reverse: I don’t know how to elaborate this since it’s quite self-explanatory in a single word imo. Say you have line 1 ~ line
n
, it swaps every linex
with linen+1-x
. If you know what string reverse is, then this is line reverse. - Unique: It looks like you know how it works.
- Shuffle: Random.
And, they don’t sort.
0 Likes
vim-user
#3
Thank you. I seem to have been confusing permuting with sorting. I got Unique and Reverse, but wonder about a use case for Shuffle?
0 Likes