Error during command authentication.
Error - unable to initiate communication with LISTSERV (errno=10061, phase=CONNECT, target=127.0.0.1:2306). The server is probably not started.
Something like this?: ------ set myFile to choose file with prompt "Select an XML file" set myText to "one:two:three:four:five:" set newText to myText & (read myFile) --------- HTH, ES On 5/10/10 6:38 AM, "jeff donovan" <[log in to unmask]> wrote: > Greetings > > i need to add the contents of a file to the end of each line of a string. It > would be easy to do a simple sed 's/mytext/newtext/g' > > newtext in this case is an xml file. which needs to stay intact. > > my text looks like this > > one:two:three:four:five: > > > output needs to look like this > > > one:two:three:four: <?xml version="1.0" encoding="UTF-8"?>\ > <dict>\ > <key>AccountState</key>\ > <string>Enabled</string>\ > </dict>\ > > > So I thought i could ; > REPLACE=/path/to/myfile > cat mytext | sed 's/five/$REPLACE/g' > > > im getting stuck any assistance would be helpful. > -j