Though BBEdit doesn't have any built-in command for doing so[*], you could certainly apply a _text filter_ which contains any suitable Unix script (via 'awk', 'sed', Perl, Python, etc.)

For instance, please make sure your list is followed by a trailing linebreak, then create & apply the following:
========
#!/bin/sh
perl -e 'print reverse <>'
========

[*: Please note that Text -> Sort Lines with "Reverse sort" enabled will re-sort the whole list into reverse alpha order rather than just 'flipping' it.]


Regards

 Patrick Woolsey
==
Bare Bones Software, Inc.             <https://www.barebones.com/>



On 3/8/21 at 12:14 PM, [email protected] (Ted Stresen-Reuter) wrote:

Hi,

I know this can be done but am not finding the solution.

Given:

Lingo (Macromedia Director)
AppleScript
HyperTalk
HTML
[...]

I'd like to end up with a list with the items in the reverse order, so,
along the lines of:

AlpineJS
React
Laravel
WordPress
Fusebox for PHP
etc.

Note that the sort criteria is the order the lines appear in in the input.
Can't BBEdit do this?

Thanks in advance.

Ted Stresen-Reuter


--
This is the BBEdit Talk public discussion group. If you have a feature request or need 
technical support, please email "[email protected]" rather than posting here. 
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/r480Ps-10146i-C4B316E58D324615877525FA746DEA2A%40Cylinder.local.

Reply via email to