Originally posted by: KarlM
if in its original state it is a UNIX script then use binary mode to transfer it to windows and then binary again from windows to your AIX target.
Alternatively I'd expect it is just the ^M characters you need to remove so vi the file and enter
:%s/^V^M//
where ^V is ctrl-V and ^M is ctrl-M (Note you won't see the ^V)
#AIX-Forum