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
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
find and replace command in one line using one command
View Single Post in the UNIX and Linux 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
Find msubbums's past nominations received
Find msubbums's present nominations given