mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 03:02:25 +00:00
Update cheatsheets
This commit is contained in:
8
tldr/bb
8
tldr/bb
@@ -8,13 +8,13 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
> Native Clojure interpreter for scripting.
|
||||
> More information: <https://book.babashka.org/#usage>.
|
||||
|
||||
- [e]valuate an expression:
|
||||
- Evaluate an expression:
|
||||
|
||||
`bb -e "(+ 1 2 3)"`
|
||||
`bb {{[-e|--eval]}} "(+ 1 2 3)"`
|
||||
|
||||
- Evaluate a script [f]ile:
|
||||
- Evaluate a script file:
|
||||
|
||||
`bb -f {{path/to/script.clj}}`
|
||||
`bb {{[-f|--file]}} {{path/to/script.clj}}`
|
||||
|
||||
- Bind [i]nput to a sequence of lines from `stdin`:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user