Re: [PATCH] Turn on more documentation

2012-05-12 Thread Noah Lavine
Hello, >>> The problem is that the auto-generated “Standard Library” section looks >>> very poor in comparison to the rest of the manual.  So we should really >>> try hard to write good doc by hands for these, and come up with a handy >>> structure (instead of one node per module, all under “Stand

Re: SRFI-64 module and SRFI-78 module -- archive file attached

2012-05-12 Thread Noah Lavine
Hello, > I'd felt afraid of guile-devel@gnu.org because I'm just a newbie and a > poor enghlish reader/writer; especially of language problem. That's fine. I am sure that you will get used to it if you contribute a lot. > My goal? Hum... Like other people, I'd googled when I'd needed a test > su

Re: [Proposal] Why not add a "shell" procedure?

2012-05-12 Thread Thien-Thi Nguyen
() Nala Ginrut () Sat, 12 May 2012 20:30:21 +0800 (pwd) ==> "/home/nalaginrut/Project/gnulib-20100109+stable" Any comment? For this particular case, you can use instead ‘getcwd’, which is builtin. See also ‘shell-command->string’ and friends: http://www.gnuvola.org/software/ttn-do/t

Re: [Proposal] Why not add a "shell" procedure?

2012-05-12 Thread Nelson H. F. Beebe
Nala Ginrut writes today about adding a function to return a string from a command executed by a shell, because (system "...") only returns the exit status of the last command. The one point that I think is important is the handling of whitespace. The Unix shells in their backquoted `cmd` and $(

Re: [Proposal] Why not add a "shell" procedure?

2012-05-12 Thread Nala Ginrut
Well, sed is an improper example, I should have deleted "-i": (shell "sed \"s:guile/Guile/g" somefile") On Sat, May 12, 2012 at 8:30 PM, Nala Ginrut wrote: > hi folks! > Sometimes we need to run shell script and get the result as string type. > Say, in Ruby: > irb: `ls` > ==> > "ice-9\nlanguage

[Proposal] Why not add a "shell" procedure?

2012-05-12 Thread Nala Ginrut
hi folks! Sometimes we need to run shell script and get the result as string type. Say, in Ruby: irb: `ls` ==> "ice-9\nlanguage\nMakefile.am\nMakefile.am~\nMakefile.in\noop\nrnrs\nrnrs.scm\nscripts\nsrfi\nstatprof.scm\nsxml\nsystem\ntexinfo\ntexinfo.scm\nweb\n" * Note: "system" lib function is us