I have a fixed width flat file. At end of the each line has line feed (LF).
I want to replace this line feed with carriage return and line feed (CRLF)
I know we can use sed but dont know how.
Can anyone pls help me in this.
Thanks
Sunil
I have a fixed width flat file. At end of the each line has line feed (LF).
I want to replace this line feed with carriage return and line feed (CRLF)
I know we can use sed but dont know how.
Can anyone pls help me in this.
Thanks
Sunil
If you're on a linux system, you could use the command:
dos2unix [file] > output_file