Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sort hex numbers from the command line?

i'm looking for ways to sort a file of hex numbers like

C3
A2
3F

From the command line

linux solutions are welcome, though i'll be using windows and cygwin or gnuwin32.

like image 913
barlop Avatar asked Aug 31 '25 02:08

barlop


1 Answers

matt@netbook:~$ sort
C3
A2
3F
^D
3F
A2
C3

Of course you can pipe to this command, or use any of it's options also.


like image 76
Matt Joiner Avatar answered Sep 02 '25 16:09

Matt Joiner