iamnamja
asked on
Windows Command-Line: Find and Replace Character
Hi,
I have large pipe-delimited text files with line-feed (LF) terminators (from Linux platforms).
I want to replace this character to regular line terminator such as '\n', because Oracle doesn't take this terminator when I try to import these text files.
Is there any command to find & replace this character in DOS window? and is there any way to identify the last character of the line (terminator) so that I can just replace that?
I can't use regular notepad or any text editor to do this, because i have many files with the same problem that I need to fix quickly.
Any help would be greatly appreciated.
Thank you.
I have large pipe-delimited text files with line-feed (LF) terminators (from Linux platforms).
I want to replace this character to regular line terminator such as '\n', because Oracle doesn't take this terminator when I try to import these text files.
Is there any command to find & replace this character in DOS window? and is there any way to identify the last character of the line (terminator) so that I can just replace that?
I can't use regular notepad or any text editor to do this, because i have many files with the same problem that I need to fix quickly.
Any help would be greatly appreciated.
Thank you.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.