3 ms·
It would be nice to see some examples of the syntax, maybe a couple of simple scripts... E.g., the README states that 'cd/' is an alias for '(cd "/")' which se
by HerrMonnezza 8y ago
It would be nice to see some examples of the syntax, maybe a couple of simple scripts...
E.g., the README states that 'cd/' is an alias for '(cd "/")' which seems to imply that one has to wrap every command in '()' and quote every filename... not very practical for a shell!
- dexterlagan 8y agoThanks for the feedback, I will update the description ASAP. I know I need to write a few examples, especially how to handle files. If compiled with pmap, it's possible to do things like: (pmap (lambda (f) (run (+ "[some-command] " f))) (directory-list)) ...and run any binary against all files in the current directory, in parallel. (directory-list) returns a list of files and one can run any Racket function against that list. It's also possible to gather any command output and pipe it back to Racket for processing. I'm working on a more polished build with better docs. I'd like to cover the minimum (like running binaries directly instead of having to use run). I've only begun to think about everything that's needed to bring this to its full potential. I'll also check the other projects I hadn't heard of, maybe some of them are already far better than mine :)
- dexterlagan 8y agoThank you for writing. Agreed, there a need for direction and better documentation. Feedback has been great and this has motivated me to work harder at this. I’d like to have something more standard. I currently use lsh to walk paths and record macros I use in IO tools for production.