The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
fetch string and insert later
.
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
:
fetch string and insert later
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
07-17-2008
ennstate
Registered User
Join Date: Mar 2007
Location: Chennai
Posts: 222
Try something like this,
Code:
echo "Are you Bill ?" |
sed
's/.* \(.*\) ?/My name is \1/g'
Thanks
Nagaraj G
ennstate
View Public Profile
Find all posts by ennstate
Find ennstate's past nominations received
Find ennstate's present nominations given