Home » Infrastructure » Linux » Junk characters while tranferring a file.. (linux, Oracle 11.2.0.2.0)
Junk characters while tranferring a file.. [message #518264] Tue, 02 August 2011 11:24 Go to next message
lg123
Messages: 225
Registered: August 2008
Senior Member
I transferred a sql file from the Desktop to the server using winScp but after transferring, I see some junk characters like ^M inside the sql file. Is there any way to eradicate the junk letters in the SQL file?
Re: Junk characters while tranferring a file.. [message #518266 is a reply to message #518264] Tue, 02 August 2011 11:33 Go to previous messageGo to next message
Michel Cadot
Messages: 66929
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
1,$s/.$//

And next time transfer your file in TEXT mode.

Regards
Michel
Re: Junk characters while tranferring a file.. [message #518269 is a reply to message #518266] Tue, 02 August 2011 11:43 Go to previous message
lg123
Messages: 225
Registered: August 2008
Senior Member
Thanks. It is fine now.
Previous Topic: Cold backup Oracle 11gr2 Under linux cluster
Next Topic: Ignore "Users with same UID" prereq check
Goto Forum:
  


Current Time: Mon Mar 30 17:53:10 CDT 2020