The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
find and replace command in one line using one command
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
find and replace command in one line using one command
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
09-04-2007
msubbums
Registered User
Join Date: Feb 2006
Posts: 7
use perl
by perl u can do the following
perl -pi -e 's/::/:/g' <filename>
This replaces ur '::' to ':' in the file directly.
msubbums
View Public Profile
Find all posts by msubbums