# Nuke the funny CRLF character streamedit -e '// Replace /" "/ "" -c ' "Cassady:Desktop Folder:democracyList" > "Cassady:Desktop Folder:tempList" streamedit -e '// Replace /http:/ "nhttp:" -c ' "Cassady:Desktop Folder:tempList" > "Cassady:Desktop Folder:newList" Open "Cassady:Desktop Folder:newList" # Concoct url stuff Set urlIndex 2 # Insert the stuff Find /nhttp:/ "Cassady:Desktop Folder:newList" && Set foundIt 1 Begin Echo -n "ttttheURLs[{urlIndex}]t=t"http:" End > "Cassady:Desktop Folder:newList." Set urlIndex `Evaluate {urlIndex} + 1` Loop Break If (!{foundIt}) Set foundIt 0 Find /nhttp:/ "Cassady:Desktop Folder:newList" && Set foundIt 1 if {foundIt} Begin Echo -n "";nttttheURLs[{urlIndex}]t=t"http:" End > "Cassady:Desktop Folder:newList." End Set urlIndex `Evaluate {urlIndex} + 1` End