Link to home
Create AccountLog in
Avatar of faithless1
faithless1

asked on

Sort

Hi,

I have a file in the following format:

183:words
1:words
2:words
3:words

I'm looking to do two things:

1.I'm looking for a way to sort the file by (number:)
2. Output a range 1-40

thanks



ASKER CERTIFIED SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Doing the awk before the sort could speed up the sort if there are a lot of entries outside the range