Re: Sorting selections in MCEDIT



For more complex sorts you could set the mc sort order to Unsorted, then
F9, Command, External panelize, then a regular unix sort command like
ls | sort -t"_" -k3,3

let unix do the sort.

On 5/23/22 7:16 AM, Ben wrote:
I've searched all over the net, read the MCEDIT and MC man pages, pressed F1 in the proper context, and I can't find any reference to the sorting parameters for the OPTIONS/SORT command in MCEDIT.

I tried a bunch of things to get it to reverse the default sort order, and finally found that "-r" would do it.

Is there a reference anywhere, or could someone who is familiar with MCEDIT's internals, post what the options actually are? I'd love to be able to do more complex/specific sorts, particularly using specified parts of lines as the key rather than just from the first characters.

TIA.




_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]