The UNIX and Linux Forums
>
OS Specific Forums
>
Linux
sed to fix view names
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
sed to fix view names
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
05-14-2008
Franklin52
Moderator
Join Date: Feb 2007
Posts: 1,665
Try this:
Code:
sed '/^create view/s/\(.*\.\)\(.*\)/\1VW_\2/' file > newfile
Regards
Franklin52
View Public Profile
Find all posts by Franklin52