Re: Shelling
Not discouraging you from gash, but babashka is pretty good for this too: https://babashka.org/
Re: Shelling
Thanks all. Very helpful. Tom On Thursday, April 18, 2024 at 04:29:36 PM PDT, Matt Wette wrote: On 4/18/24 9:44 AM, Tom Whitcomb via General Guile related discussions wrote: > Hi. > I need to write a set of shell scripts and I would really like to do it with > a lisp. Is that a use case for guile or should I move towards scheme/scsh? > Tom You may be interested in gash: https://savannah.nongnu.org/projects/gash/
Re: Shelling
On 4/18/24 9:44 AM, Tom Whitcomb via General Guile related discussions wrote: Hi. I need to write a set of shell scripts and I would really like to do it with a lisp. Is that a use case for guile or should I move towards scheme/scsh? Tom You may be interested in gash: https://savannah.nongnu.org/projects/gash/
Re: Shelling
hello Tom, i use sometimes guile as a shell script, your file should start with: #!/usr/local/bin/guile -s !# and after the scheme code for example : (define stderr (current-error-port)) ; parse the input file from command line (define cmd-ln (command-line)) (define args (cdr cmd-ln)) (when (member "--help" options) etc regards, Damien On Thu, Apr 18, 2024 at 6:45 PM Tom Whitcomb via General Guile related discussions wrote: > Hi. > I need to write a set of shell scripts and I would really like to do it > with a lisp. Is that a use case for guile or should I move towards > scheme/scsh? > Tom >
Shelling
Hi. I need to write a set of shell scripts and I would really like to do it with a lisp. Is that a use case for guile or should I move towards scheme/scsh? Tom