Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 926 Bytes

README.md

File metadata and controls

12 lines (12 loc) · 926 Bytes

NumericFileSort

NumericFileSort.py is a useful python script that reads a regular text file as an argument or as a stdin and then sort all file lines by floating numbers that is exists at the start of each line of file. NumericSortFile ignores all white spaces before floating numbers. Lines without numeric prefix will be absent in output.

Usage:


Here you can see a usual Linux command output:

without using numericfilesort


We can sort above output with below command very easily:

without using numericfilesort



Copyright© 2021 [email protected], Licensed under GPLv3+