https://github.com/cran/fda
Revision 6323cbf12a1edd296d2011c87cc0f31456f4de8f authored by J. O. Ramsay on 03 November 2009, 00:00:00 UTC, committed by Gabor Csardi on 03 November 2009, 00:00:00 UTC
1 parent 162fdbd
Tip revision: 6323cbf12a1edd296d2011c87cc0f31456f4de8f authored by J. O. Ramsay on 03 November 2009, 00:00:00 UTC
version 2.3.4
version 2.3.4
Tip revision: 6323cbf
add-links.rb
Dir["*/*.[rR]d"].each do |path|
puts path
file = File.new(path, "r")
update = file.read.gsub(/\\seealso\{(.*?)\}/smi) do
"\\seealso{\n" +
$1.gsub("\n","").split(/[\, ]+/).map{|f| "\\code{\\link{#{f}}}"}.join(", \n") +
"\n}"
end
file.close
file = File.new(path, "w")
file.write update
file.close
end
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...