in my windows Batch file i search for run date of windows.
Next I sent it to my linux server where in sh script I
My problem is - the file from windows hase some characters (I assume) and my script return (null), when I manually enter that txt file from windows, and delete spaces after number of days, save it, and exit, my script returns right case action.
What should I do, in Windows or in Linux, to get rid of that problem. And I will be glad if You would provide me information, what is going on, why does that problems occurs.
I have checked google for 3 days, till I request for help here - with no special solution.