I am writing one text file using FlatFileItemWriter class.
File is generated but it doesnot separate the data with new line character in Unix environment.
I have not configured the lineSeparator in xml, so by default It should take system line separator.
FlatFileItemWriter generating file with new line character in windows environment but it generates file in one line only with square character instead of new line in unix environment.
Please suggest asap that what should be the issue