How do I sort rows of text alphabetically without using specialized third party software or plugins (like Notepad++/Word/Excel/et al)?
I suppose what I'm perhaps asking is -- How do I sort rows of text alphabetically through a CLI (either Linux or Windows)?
I have a long list of text that I'd like to sort alphabetically (dumping a router's nvram variables with
nvram export --set), for example:
... nvram set wan_unit="0" nvram set NC_Verbosity="2" nvram set sesx_led="0" nvram set led_override="" ...
It doesn't matter how it's accomplished, I just need to visually see the rows in alphabetical order. I have access to both Linux and Windows (the text originates from a Linux system, which I've copied/pasted into Windows Notepad, but I can do the sorting in either one).