Say I have some command that outputs a bunch of strings. The output from this command could look something like:
... foo bar blargh ... Say I have some set string
myString$Blah I want to insert each of the strings where the $ is in the output of the command such that I end up with a file that looks like this:
... myStringfooBlah myStringbarBlah myStringblarghBlah ... What is the easiest way to accomplish this? (Awk and sed preferred)