Hi All
I have a rather unusual problem, which i have not faced till now. I have a script which exports some paths to a text file. The script runs fine but when i check the output file i can see some junk characters ^M appended at end of lines and random places. I am not able to figure this out..
Any help would be greately appriciated...
Thanks!!!
hey thanks a lot for the reply... can you tell me how can i fix this......:o
Thanks!!!!
Did you run "dos2unix" on your file?
1 Like
If you are using linux environment, insert below line in your script
dos2unix file
If solaris, then
dos2unix file > file2
\mv file2 file
actually this problem usually occurs when you are taking some database from windows and using in linux.
1 Like