# echo "abc" | sed s/abc/`echo "123"`/
123
This shows that you can simply use
i=string
sed s/somestring/`echo $i`/
EDIT:: be careful of the ` ' and " ! They are all different and you need to...
Search:Type: Posts; User: XiaoKJ Search: Search took 0.02 seconds.
Results 1 to 2 of 2
|
|