This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
notes:bc_cheat_sheet [2026/11/03 09:56] 14.244.227.252 old revision restored (2026/07/19 01:32) |
notes:bc_cheat_sheet [2026/11/03 11:16] (current) 109.76.166.44 old revision restored (2026/08/06 21:43) |
||
|---|---|---|---|
| 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. < | ||