Site Tools


notes:bc_cheat_sheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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://en.wikipedia.org/wiki/Bc_programming_language | bc ]] is a command-line calculator and primitive language   *  [[http://en.wikipedia.org/wiki/Bc_programming_language | bc ]] is a command-line calculator and primitive language
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. <code>   * New functions are easy to define e.g. <code>
notes/bc_cheat_sheet.txt · Last modified: 2026/06/07 04:46 by 43.153.220.175