Sorting selections in MCEDIT

Tim Stoodt timstoodt at gmail.com
Mon May 23 22:43:20 UTC 2022


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20220523/040487b9/attachment.html>


More information about the mc mailing list