News for hackers. Stuff that matters.
Re:Write Posix Shell by j3s on Saturday March 11, 2023 @10:45AM (#35109218)
shell is loose and offers a lot of power per line, so it’s pretty easy to make a spaghetti nightmare. but it’s very possible to write nice shell.

i dunno about testing it, i feel like that’s getting pretty close to the barrier of shell’s utility

Re:Write Posix Shell by jbverschoor on Saturday March 11, 2023 @10:55AM (#35109356)
A program in any language can be maintainable when written properly and maintained by someone who is capable, diligent, and has a good test setup.
Re:Write Posix Shell by oneshtein on Saturday March 11, 2023 @11:57AM (#35110170)
Bash is turing-complete, so it's possible to write automated test cases in bash. Example: https://github.com/vlisivka/bash-modules/blob/master/bash-mo...