nash
nash copied to clipboard
Nash stands for Nash shell.
We need some idiomatic way to set limits and isolate resource usage (cgroups) on Linux, but I dont want to add new keywords into the language specification for that. What...
For now, `rfork` is available only for Linux, but the syntax need to be extended to support rfork with flags ommited. In this case, nash will only fork the process...
Currently nash only have simple redirection (truncating target file). ``` sh ls -la > out.log ``` but append could be useful: ``` sh ls -la >> out.log ```
``` sh fn files(pat, dir) { IFS=("\n") results mv -v files("png$", ".") ./Images/ '2016-03-10-183202_1802x1080_scrot.png' -> 'Images/2016-03-10-183202_1802x1080_scrot.png' '2016-07-26-120239_1797x997_scrot.png' -> 'Images/2016-07-26-120239_1797x997_scrot.png' ``` ``` sh mv -v files("png$", ".") ./Images/ # must expand...
Nash supports only 1 condition per if statement. There's no way to use '&&' or '||'.
Hello, I'm considering adding Nash too my toolset for scripting on production servers. The sane syntax and security features are extremely compelling. I see the project is past 1.1, would...