Rolls dice in the usual notation. Thanks to score for helping me write the dice library.
Install as you would any other small C program, i.e.
make && cp roll /usr/local/bin.
Args passed to the program will be parsed and rolled:
$ roll 3d6 rolling 3d6: 6, 6, 5, total: 17 $ roll 4dF rolling 4dF: 1, -1, -1, -1, total: -2 $ roll +2d20 rolling +2d20: 19, 13, total: 19 $ roll -2d20 rolling -2d20: 10, 12, total: 10
1d6+1. You'll have to add after you roll.