The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
replace chars,
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
replace chars,
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
02-27-2007
matrixmadhan
Technorati Master
Join Date: Mar 2005
Location: k-tier distributed caching
Posts: 2,736
something like this,
to replace in between lines with a specific character,
Code:
>cat file this is important >awk ' sub( substr($0, 6, 2), "x", $0) ' file thx is important
matrixmadhan
View Public Profile
Find all posts by matrixmadhan