Click here to Skip to main content
15,883,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a file with the following content

1,000
2,0001
300
4

I am trying to sort it numerically.

What I have tried:

sort -n filename
sort -g filename
Posted
Updated 12-Aug-17 14:06pm
Comments
Kornfeld Eliyahu Peter 13-Aug-17 1:45am    
And? What is the problem?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900