This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
notes:bc_cheat_sheet [2026/06/04 16:06] 47.82.8.224 old revision restored (2007/10/18 11:28) |
notes:bc_cheat_sheet [2026/06/16 02:06] (current) 216.73.217.162 old revision restored (2026/06/04 18:24) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== GNU bc Cheat Sheet ===== | + | ==== GNU bc Cheat Sheet ==== |
| - | ==== Overview | + | === Overview === |
| * [[http:// | * [[http:// | ||
| Line 27: | Line 27: | ||
| * bc uses readline so ⇑ and ⇓ (for history) and ctrl-r (for searching) work as expected. | * bc uses readline so ⇑ and ⇓ (for history) and ctrl-r (for searching) work as expected. | ||
| - | ==== Basic Usage ==== | + | === Basic Usage === |
| * Any alphanumeric variable name is allowed once it starts with a letter. | * Any alphanumeric variable name is allowed once it starts with a letter. | ||
| Line 51: | Line 51: | ||
| * && , || , ! work as expected (return 0 or 1). | * && , || , ! work as expected (return 0 or 1). | ||
| - | ==== Advanced Usage ==== | + | === Advanced Usage === |
| * New functions are easy to define e.g. < | * New functions are easy to define e.g. < | ||