scripts of other languages usually need just one line to specify the
interpreter:
#!/usr/bin/myinterpreter
but with guile we have to add a final !#
#!/usr/bin/guile !#
or even
#!/usr/bin/guile -s
!#
in my opinion, this is not ideal. from my perspective as a guile user thi
Oh, I see. There is 'canonicalize-path' that can handle ".." and "."
but not in guile, or is it? i have not found it in the manual. maybe it
is only in racket.
> Guile provides "readlink". Isn't it the thing you need?
no, i am afraid not. readlink returns the target of a symbolic link. realpath
resolves all directory references like ".." and "." and all symbolic links in a
path and returns a path that does not include those things.
i have now impleme
guile does not offer "realpath", which is part of the posix standard as far as
i can tell. http://pubs.opengroup.org/onlinepubs/9699919799/
i think this would be useful to have and it does not seem trivial to
re-implement in scheme.
one of my use cases would be finding the first matching load p
currently i am struggling with fork/exec/dup/etc and am missing a more generic
way to create processes in guile. i wish i could avoid having to require
building a shared library to use the scheme code that i am writing.
my use case is that i would like to "chain" the i/o of several child processe