Hi all,
I am having few files which needs to be concted into a single file and then it is compressed and FTPed from the UNIX server to the Windows server.
For the above purpose i am using gzip command to compress the files after concetenation.
And i am FTP ing the compressed file in the binary mode.
Thus transfered file contains a carriage feed(CR) inserted for every new line. I want to avoid this CR and it should be a new line itself.
I doubt that the presence of CR is due to the compression (When i tried to FTP the concated file without compressing there is no CR inserted for a new line.The output is as desired)
Could any one suggest me a way to avoid the CR which is inserted as a result of compression?
Or is there any command other than gzip and compress inorder to compress the files without a CR?
Any help is greatly appreciated.