diff --git a/README.md b/README.md index e6bfe6d1..05ab1b60 100644 --- a/README.md +++ b/README.md @@ -47,12 +47,12 @@ You may also download a binary from [Github](https://github.com/borkdude/babashk ## Usage ``` shellsession -echo | bb [--raw] '' +... | bb [--raw] '' ``` -There is one special variable, `*in*` is piped from stdin. When the `--raw` flag -is provided, `*in*` is a single string or vector of strings. When it is omitted, -the input is read as EDN. +There is one special variable, `*in*`, which is the input read from stdin. When +the `--raw` flag is provided, `*in*` is a single string or vector of +strings. When it is omitted, the input is read as EDN. The current version can be printed with: @@ -94,10 +94,13 @@ $ ls | bb --raw '(filterv #f (re-find #r "reflection" %) *in*)' ## Test -Test the JVM version: +Test on the JVM: script/test +Although this tool doesn't offer any benefit when running on the JVM, it is +convenient for development. + Test the native version: BABASHKA_TEST_ENV=native script/test