Hi all,
I need some help with inserting a line feed character to a data file.
Basically, I have a file on a MAC (OS9) which has special characters. When I ftp this file to Unix in Binary mode, and then try to open the file using VI .. I get the message that file cannot be opened as the line...
Thank you all for your replies. I've got the file as I wanted it.
One more question. Is it possible to remove just the Line feed from the file leaving the CR character in the file ??
Is there any way to prevent SQL putting a CR/LF at the end of the record when it is written to a spooled file ?
I need to extract a number of records to a file, but I need o end up with one long record made up of many concatenated data records.
or is it possible to remove the CR/LF from unix ...
I'm fairly new to unix. I got a data file with records that were extracted from oracle. Each of these records has a line break at the end, but I need to join all the records into one large string. (remove CR/LF)
Is there any way that I can do this from unix ??
I've tried sed 's/^M$//g ' f1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.