Basically I am an embedded engineer working for automotive industry, developing software in embedded C.
To collect the metrics we are comparing two files and take the modified/deleted/added lines of code in to account.
For that the present tool is using DOS "sort" option. But the command is considering "leading space" and sort the same lines in different place in different file. If we do line by line comparision, we are getting different output.
I want to have some utility or exe file which will remove the leading space in the file and plan to use "sort" option in that tool. That will resolve my problem.
If any one of you have any exe or utility to remove the leading space in a given file, please share it with me.
Thanks in advance.