The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
find and replace command in one line using one command vasikaran UNIX for Dummies Questions & Answers 10 08-20-2008 07:40 AM
using sed command to replace multiple lines radha.kalivar Shell Programming and Scripting 1 07-10-2007 07:36 AM
How I can replace this command --need help sudhish Shell Programming and Scripting 10 06-25-2007 05:25 AM
Command to replace character HLee1981 UNIX for Dummies Questions & Answers 5 10-16-2005 10:27 PM
replace text in a file from the command line... dudboy UNIX for Dummies Questions & Answers 1 09-04-2001 11:31 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-16-2006
Registered User
 

Join Date: Sep 2006
Posts: 5
vi command - replace

Hi,

Given a long text file. How can I replace all full stops-[.] with semicolon [;]

thanks,
tictactoe
Reply With Quote
Forum Sponsor
  #2  
Old 09-16-2006
Supporter
 

Join Date: Jul 2006
Posts: 156
In command mode:
Code:
:%s/\./;/g
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 04:01 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0