184 karma · joined October 28, 2011
In day2, the author refactored some "old-school" code[1], I'd say I prefer the old-school version (the new version is less readable to me). Old-school is not out-dated nor in-correct IMO.
It looks like a bad command to me (nested $ and nested `"` do not smell good). Probably I would mark this a wont-fix. But if I found I does make sense (useful in some meaningful places) - I'll consider to update cicada to align with Bash. Thanks for reporting.
cicada> /bin/1
A bare `1` is a math arithmetic, as described in README, which with a higher precedence.
Now cicada shell is still have some issues, but overall it's quite usable. I hope it could be useful for people who are seeking simplicity and speed in daily use of the shell.
Only for ones not familiar with awk.
It would make a lot of sense after you understand how awk works (as the article explains).
[0] `man awk` on mac
[1] online version https://www.mankier.com/1/nawk
[2] gawk's man page works great as a reference https://www.mankier.com/1/gawk
For modern shell, please check out xonsh: http://xon.sh/ - powered by Python - It's super cool!