Re:Nsh: A fish/bash-like Posix shell in Rust
by R0flcopt3r on Saturday October 23, 2021 @09:13AM
(#28968076)
Or just simply:
[ Parent
| on HN ]
Re:Nsh: A fish/bash-like Posix shell in Rust
by AYBABTME on Saturday October 23, 2021 @09:18AM
(#28968114)
That doesn't give you the env vars that the script might have set.
Re:Nsh: A fish/bash-like Posix shell in Rust
by pxc on Saturday October 23, 2021 @10:45AM
(#28969018)
You can use fenv or bass for that. They run a snippet or script of bash in bash, then import all the environment changes for you
Re:Nsh: A fish/bash-like Posix shell in Rust
by stjohnswarts on Saturday October 23, 2021 @06:56PM
(#28973190)
could you explain this? How could the script set env vars before you run it??