[chuck-users] expanding paths
haberg at math.su.se
Wed Sep 30 05:42:06 EDT 2009
On 30 Sep 2009, at 09:35, Atte Andre Jensen wrote:
> It seems chuck doesn't like the tilde (~), which on linux (I suppose
> osx too) is standard for "the current users home directory" in my
> case "/home/atte/. Are there any good advise for solving this in .ck-
> code or should I see if I could hack it in the source?
It seems that chuck is just using the C function fopen(), and the
interpretation is implementation defined, tied to the C compiler.
By contrast, the interpretation of "~", $HOME, etc, is done by the
shell. So you expand the filename in a shell.
More information about the chuck-users