As a part of our Infor10 upgrade, the company has elected to convert platforms to Windows.
Fine. Problem comes in, in that my co-worker and I have written a lot of shell scripts to do our work for us.
They aren't converting cleanly...
For Example: the cnvimp utility. Seems to operate differently in Windows than in Unix.
We are using it for IC500, RQ500, etc. jobs.. but it seems to truncate the trailing spaces off of the input file.
Anyone found a way around this?
Another thing, is that sometimes Windows appears to expect a file extension on tests if [ -s {$FILE} ] If $FILE="any_file.txt" it appears to work well. If instead it is $FILE="SNINVEN" the if test throws errors.
Yes, simple enough to put a file extension on the file, but wondering why sometimes it works without and sometimes it does not like it.