On Mon, 2009-09-28 at 19:33 +0100, Sharpe, Sam J wrote:
Yes, but it involves reading the man page for sed - I'm not totally sure you are capable of doing that.
I suggest looking at the output of "man sed", finding the section about the command "r" and then reading the next few lines.
Oh my word. I can't believe I missed that. So, I've solved my little problem with this:
sed '/BB/R file2' file1
Sweet!
Thanks to everyone who cared enough to reply. I appreciate your time.
Regards,
Ranbir