The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 11-24-2008
eswarreddya eswarreddya is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 5
Thanks Koneark,

but i have one more prob here.
when i run
echo "today--RSS_URL=http://someurl" | sed 's/\(.*\)--\(.*\)=\(.*\)/x1=\1\nx2=\2\nx3=\3/'

it is giving the out as below.

x1=todaynx2=RSS_URLnx3=http://someurl



But I need the out put as

x1=today
x2=RSS_URL
x3=http://someurl

and i need to export these x1, x2 and x3 to the shell.

Thanks,
Eswar