nash
nash copied to clipboard
Nash stands for Nash shell.
list syntax should be like this: `["a", "b", "c"]`. And unquoted strings will not work inside lists anymore. So: - instead of parenthesis (`(`) we will use brackets(`[`) - instead...
Commands will not accept operations in their arguments anymore. Ex.: - `echo a+b` will result in `a+b` - `echo $a+$b` will fail - `echo $HOME+"/stuff"` will fail - `echo [$HOME+"/stuff"]`...
It would be great to finally have some way to structure data that is not solely positional (lists). The idea is to build something with a syntax very close to...
``` λ> ls ERROR: exec: "ls": executable file not found in %!P(MISSING)ATH%!(NOVERB) ```
One of the major downsides of traditional shells is the lack of direct support for any of well-known structured data formats (e.g. JSON, YAML, or even XML example). As a...
If I run: ``` a = b +c ``` It breaks, but if I run: ``` a = "b" + c ``` It works
Got this meaningless error: ``` λ> /home/i4k/.gvm/pkgsets/go1.8/global/src/github.com/NeowayLabs/gootstrap/vendor.sh github.com/Sirupsen/logrus (download) github.com/Sirupsen/logrus _/home/i4k/.gvm/pkgsets/go1.8/global/src/gitlab.neoway.com.br/teahupoo/geoindexer Function cannot be passed as argument to commands. ERROR: exit status 1 ``` This error needs context (at least...
``` ls|grep a #works echo "hello"|grep h #works echo hello|grep h #works echo $PATH|grep # :1:10: Unrecognized character in action: U+007C '|' echo $a|b # :1:7: Unrecognized character in action:...
- Builtin testing infrastructure? - Go API for testing (like we did in [klb])(https://github.com/NeowayLabs/klb/blob/master/tests/lib/nash/nash.go) I'm inclined to add both the Go API *and* some nice way for people test theirs...
Start to use [NeowayLabs/gootstrap](https://github.com/NeowayLabs/gootstrap) instead of boring copy-pasted script for cover and test.