What's the most robust pastable concise way to demo *ledger bugs and
features ? I like the brief format you used there, but it's not perfect.
It didn't work for me because the "cat <<EOF" form eats the $8's. (I'm
using bash in emacs.)
This is shorter and works here:
$ cat - | ledger -f - print
2009/01/01 Sample
assets 134.123 FOO @ $8.88
assets 100 BAR @ $8.88
equity
(control-d)
Here it is again with the output, copy-pasted. A couple of things make
it harder for the reader to copy-paste and try this on their system:
first, email will probably wrap the long 87999999 line, second, it's not
clear which is input and which is output:
$ cat - | ledger -f - print
2009/01/01 Sample
assets 134.123 FOO @ $8.88
assets 100 BAR @ $8.88
equity
2009/01/01 Sample
assets 134.123 FOO @
$8.8799999999999999975
assets 100 BAR @ $8.88
equity
Better ideas ? Inquiring minds want to know.