Hi Ben,
Just go to the line you wish to change, then just do this :s/12/89
Darcey
________________________________
From: BenBart [mailto:oracledba-ezmlmshield-x5533255.[Email address protected]
Sent: Sun 2/26/2006 8:08 PM
To: LazyDBA Discussion
Subject: Any vi expert please ... just a quick one ... :-)
Hi all,
Can someone remind how do I make a global change on the current line, i.e. I do not want to do :,$s/12/89/g which replaces 12 with 89 from the current line up to the last line, but am only wanting to do the change on the current line where the cursor is ...
Thanks in advance ...
--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these terms:http://www.lazydba.com/legal.html
This e-mail and any accompanying documents may be confidential and/or legally privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of this information is strictly prohibited.
If you have received this e-mail in error, please notify the sender by reply e-mail and delete the message and any attachments. Thank you.
Oracle LazyDBA home page