sed command [message #530674] |
Wed, 09 November 2011 11:04  |
sroy
Messages: 38 Registered: July 2005
|
Member |
|
|
What will be the correct syntax to replace the character in specific position in the string? The character should meet the number range [0-9] at the 8th position for replacement. I tried the following:
sed 's/^\(.\{7\}\)\([0-9]\{1}\/\1*/' text.file
|
|
|
Re: sed command [message #530678 is a reply to message #530674] |
Wed, 09 November 2011 11:13  |
 |
Michel Cadot
Messages: 68737 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
This question bears no real connection with Oracle.
Please find a more appropriate forum.
The topic is locked.
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).
Regards
Michel
|
|
|