Hi Christophe,
thanks for the input! :)
1) Regarding this snippet: (for ((I . N) 11 (not (= I 4)) (inc N)) (list I N))
the official PicoLisp and ersatz 27 return (4 14),
but ersatz 29 (currently the most recent version) returns (3 13).
Correct. This was fixed a while ago, on Tue Oct 02
Thanks for the response Mansur and Henrik - much appreciated.
Mansur - Great, this looks much better!
Henrik - I have been looking ath the articles on ProDevTips and some of the
libs on bitbucket - very helpful as well.
What I'm really trying to do is have an easy way to invoke arbitrary shell
Hi Simon, if we take the classic ps aux | grep X
Obviously you can just input one function into the next like this: (println
(excmd~exe (excmd~script 'ps T 'aux) T 'grep 'bash))
Not so elegant, so I added this to cmd.l:
(de chain @
(let Str (in (next) (till NIL T))
(while (next)
Hi Simon,
What I'm really trying to do is have an easy way to invoke arbitrary shell
commands that may be piped, process the result in pico and maybe use that
as the input for another command.
I haven't found a generic example yet that doesn't specify the command
specifically that allows
Awesome! Thanks Henrik and Alex.
Henrik - Yes, that's what I was envisioning. Thank you for the quick update
to the repository.
Alex - I hadn't thought about calling a shell - thanks for pointing this
out!
The main use case is that I'm calling a combination of command line tools
to pull in data
On Thu, Apr 17, 2014 at 8:00 AM, Alexander Burger a...@software-lab.de wrote:
1) Regarding this snippet: (for ((I . N) 11 (not (= I 4)) (inc N)) (list I
N))
the official PicoLisp and ersatz 27 return (4 14),
but ersatz 29 (currently the most recent version) returns (3 13).
Correct. This was