This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
notes:bc_cheat_sheet [2026/06/04 18:24] 47.79.15.11 old revision restored (2026/05/30 07:20) |
notes:bc_cheat_sheet [2026/06/07 04:46] (current) 43.153.220.175 old revision restored (2026/06/03 02:16) |
||
|---|---|---|---|
| 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. < | ||