You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They don't exist. I just filed #469 to add this API. I think I have a decent design, but it might take awhile to get to it unfortunately... That issue is blocking this one :-/
I have been thinking this for awhile, but this thread brought it to the forefront:
https://news.ycombinator.com/item?id=20724679
For example, you would have a shell function
cut
that does all the parsing, and calls the real command in backward compatible form:This makes shell scripts more readable, while not sacrificing compatibility with POSIX.
It also helps with embedded systems (busybox / toybox), not just BSDs.
(It's possible to do this with pure POSIX shell via some code gen, but I'm not sure I want to go there. I'd rather test out the Oil option parser.)
The text was updated successfully, but these errors were encountered: