sysanalyst25
Technical User
A customer of mine exported a Sybase database in a .bcb format. In some of the .bcp files the character strings with trailing spaces had a \040 instead of a " ". Does anyone know how to search and replace an octal code? The following is an example.
NOTE: The "\040" in vi is one character.
2135|0|TRUE|1|0|NEWCKT:\040|0|0|0
2135|1|TRUE|1|0|SLOT:\040|0|0|0
2136|0|TRUE|1|0|DELCKT:\040|0|0|0
2136|1|TRUE|1|0|SLOT:\040|0|0|0
NOTE: The "\040" in vi is one character.
2135|0|TRUE|1|0|NEWCKT:\040|0|0|0
2135|1|TRUE|1|0|SLOT:\040|0|0|0
2136|0|TRUE|1|0|DELCKT:\040|0|0|0
2136|1|TRUE|1|0|SLOT:\040|0|0|0