I'd like to see the bitwise operators and floor division from #21 included but all in all i think this is a good implementation and better than I could have done (or even intended to do).
rpn(1)
- reverse polish notation
I'm deciding, tentatively, with comments still desired:
- integer-only; no decimals supported
+
,-
- addition and subtraction*
,**
- multiplication and exponentiation (see…
swab(1)
- swap bytes
My current conundrum is that there are multiple useful types of byte reversal:
- reversing bits in a byte
- reversing bytes within a certain block size (e.g. "swabbing" - swapping bytes within…
That's true but using a generic name is perilous when the den is occupied by a giant. Consider uutils, which [is packaged as a great variety of names](https://uutils.github.io/coreutils/book/instal…
qi(1)
: The qi shell
The "$()"
pattern is horrid.
()
- subshell$()
- oh wait, i need standard output"$()"
- oh wait, quoting
My ideal (Lisp!) shell syntax would be
$ echo "$(ls)"
.
..
…
qi(1)
: The qi shell
Plan 9's rc(1) doubles quote runes to escape them:
; echo "foo"
foo
; echo ""foo""
"foo"
; echo ''foo''
'foo'
Which I've always felt is quite nice.
The reason sh(1p)'s…
hru(1)
– human-readable units
I'd like an option to set the maximum unit to use. Maybe the minimum too.