genspio icon indicating copy to clipboard operation
genspio copied to clipboard

Generate Shell Phrases In OCaml

Results 16 genspio issues
Sort by recently updated
recently updated
newest added

Hello. Thank you for this great idea. I was looking for a way to write, not only easier POSIX scripts, but if possible, to also have them be type safe....

The failure of the [`"error-in-get-stdout-3"` ](https://github.com/hammerlab/genspio/blob/bdb141fa3faf17c3e06b526b6567284193c9e2fd/src/test/main.ml#L461) test with `ksh` is due to the fact that `kill -s USR1 ` does not kill the shell. ``` bash$ PS1='ksh\$ ' ksh ksh$...

The `exec` Schism ----------------- Specification of [`exec`](http://pubs.opengroup.org/onlinepubs/009695399/utilities/exec.html). > If command is specified, exec shall not return to the shell; rather, the exit > status of the process shall be the...

question

https://stackoverflow.com/questions/32481734/shell-error-with-bash-bad-substitution-no-closing

Going to be fun trying to get rid of that: ![image](https://user-images.githubusercontent.com/617111/30988910-de16cc38-a469-11e7-8e82-2c4d118ecef6.png) it randomly happens with running the tests.

https://github.com/hammerlab/genspio/blob/a2eb8243d675c6095885a0c1cd8c49bee6dbbaa8/src/lib/language.ml#L147 Here we use the fact that `$( )` removes the last new-line that `sed` potentially added (OSX does add it; GNU sed doesn't) cf. http://stackoverflow.com/questions/13325138/why-does-sed-add-a-new-line-in-osx & http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html (definition of...

question
Compilers