i have following line
<property name="imqAddressList" value="mq://localhost:7676/" />
i want a script which will give ourput as follows:
imqAddressList = mq://localhost:7676
please help me on this
i have following line
<property name="imqAddressList" value="mq://localhost:7676/" />
i want a script which will give ourput as follows:
imqAddressList = mq://localhost:7676
please help me on this
echo `grep imqAddressList file | cut -d"\"" -f 2` = `grep imqAddressList file | cut -d"\"" -f 4 | sed 's/6\//6/' `
Hi,
This is another way..
awk '/imqAddressList/ {print}' inputfile|awk -F'"' '{print $2"="$4}' test|sed 's!/$!!g'
Thanks
Sha