Forrest logo
back to context overview

bb

List of commands for bb:

  • bb:tldr:48e7e bb: [e]valuate an expression.
    $ bb -e "(+ 1 2 3)"
    try on your machine
    explain this command
  • bb:tldr:802dd bb: Bind input to a sequence of lines from stdin.
    $ printf "first\nsecond" | bb -i "(map clojure.string/capitalize *input*)"
    try on your machine
    explain this command
  • bb:tldr:82c2f bb: Evaluate a script [f]ile.
    $ bb -f ${path-to-script-clj}
    try on your machine
    explain this command
  • bb:tldr:cee23 bb: Bind input to a sequence of EDN(Extensible Data Notation) values from stdin.
    $ echo "{:key 'val}" | bb -I "(:key (first *input*))"
    try on your machine
    explain this command
back to context overview