search for: berlin52

Displaying 1 result from an estimated 1 matches for "berlin52".

Did you mean: berlin
2008 Nov 26
1
How to create a string containing '\/' to be used with SED?
Hi guys, I've been struggling to find a solution to the following issue: I need to change strings in .ini files that are given in input to a program whose output is processed by R. The strings to be changed looks like: "instance = /home/TSPFiles/TSPLIB/berlin52.tsp" I normally use Sed for this kind of things. So, inside R I'd like to write something like: command <- paste("sed -i 's/^instance .*/instance = ", data$instancePath, data$newInstance, "/' ", configurationFile, sep = "") s...