Question

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.

Was it helpful?

Solution

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.


Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top