This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
notes:bc_cheat_sheet [2026/09/13 11:26] 165.90.103.59 old revision restored (2026/08/28 17:05) |
notes:bc_cheat_sheet [2026/09/14 04:42] (current) 103.113.172.91 old revision restored (2026/07/27 05:19) |
||
|---|---|---|---|
| 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. < | ||