News for hackers. Stuff that matters.
Re:Show HN: Using Rust to write shell-script like tasks by LockAndLol on Sunday August 23, 2020 @05:58AM (#24250838)
This reminds me of the python version of this called xonsh https://xon.sh/

I really like the idea, but it was missing some simple features that bash had. I can't recall them right now but after an hour of trying to convert a simple bash script, I gave up. That was a year ago. Maybe things changed.

I'll give this and xonsh a go again because I just really dislike bash. Thanks for the project!

Re:Show HN: Using Rust to write shell-script like tasks by oldsj on Sunday August 23, 2020 @02:34PM (#24254132)
I’ve been playing with xonsh lately and really liking it so far! From what I can tell it’s pretty close to feature parity with fish shell which has a lot of nice things like command auto completion but you don’t have to learn yet another shell syntax it’s just python. Wrote up a quick trip report at https://blog.jamesolds.me/post/xonsh-aws-example/
Re:Show HN: Using Rust to write shell-script like tasks by Siira on Sunday August 23, 2020 @03:15PM (#24254491)
You might like my alternative design choice: https://github.com/NightMachinary/brish

Xonsh is a superset of Python, which introduces a lot of complexity for little gain. Brish chooses to use Python metaprogramming abilities to solve the problem within the language itself, and so is a much simpler solution.

Re:Show HN: Using Rust to write shell-script like tasks by rustshellscript on Sunday August 23, 2020 @08:50AM (#24251537)
Thanks, yes since I just finished the core functionality of this project and I am not surprised if it is still missing some critical features when converting bash script. Pls file bugs if you find anything :)