I am trying to write a simple utility that opens the readme of a package in my browser:
@doc "Open readme of package in browser."-> function Pkgreadme(package) file = Pkg.dir(package) * "/" * "README.md" isfile(file) && `x-www-browser $(file)` end but get the error ERROR: UndefVarError: file not defined when evaluating. I must have misunderstood something about interpolation, but can't find a solution to this, even after checking the archives. v"0.4.0-dev+4160". Best, Tamas