I have some question and need some guidance how to sort and match multiple files.
all the data in the files are numbers
e.g. 1234567
1584752
2563156
each sorted file have their own ouput. e.g. test.csv -> test_sorted.csv
Then, I need to match all sorted files with source file (sorted) and each matched file have their own ouput. e.g. test_sorted.csv -> test_sorted_matched. csv
Hope you there can give the ideaa how to do a script.
But that is for 2 files only. If let say I have more than 2 files e.g. 5 files, then I want to sort all the files in one script. After all sorted, i want to compare all the 5 files with the source file in one script too.