2 ms·
Yes absolutely! That's been on the table for along time, and we even have a nascent xargs from a contributor (that has languished -- I need help!) Let's discu
by chubot 6y ago
Yes absolutely! That's been on the table for along time, and we even have a nascent xargs from a contributor (that has languished -- I need help!)
Let's discuss on the issue if interested: https://github.com/oilshell/oil/issues/843 https://github.com/oilshell/oil/issues/843
Oil is easy to prototype (it's just Python code), so anyone who wants to make this feature their own should feel free to dive in :)
A lot of people have ideas, which may or may not be implementable with fork(), wait(), pipe() and dup(). Anything that can be done safely with those syscalls is basically viable.
The syntax is generally the easy part compared to the runtime execution. Oil has first-class blocks already which will help a lot.
----
Related: I also want to fix redirect and here doc syntax (in a compatible way):
https://github.com/oilshell/oil/issues/841 https://github.com/oilshell/oil/issues/841
https://github.com/oilshell/oil/issues/832 https://github.com/oilshell/oil/issues/832