doc
This commit is contained in:
parent
6c2e2d6426
commit
026f911be2
1 changed files with 2 additions and 2 deletions
|
|
@ -68,8 +68,8 @@ Functions are written using the reader tag `#bb/fn`. Currently up to three
|
||||||
arguments are supported.
|
arguments are supported.
|
||||||
|
|
||||||
``` shellsession
|
``` shellsession
|
||||||
$ echo '' | bb '(#bb/fn (+ %1 %2) 1 2)'
|
$ echo '3' | bb '(#bb/fn (+ %1 %2 %3) 1 2 *in*)'
|
||||||
3
|
6
|
||||||
|
|
||||||
$ ls | bb --raw '*in*' | bb '(filterv #bb/fn (re-find (re-pattern "reflection") %) *in*)'
|
$ ls | bb --raw '*in*' | bb '(filterv #bb/fn (re-find (re-pattern "reflection") %) *in*)'
|
||||||
["reflection.json"]
|
["reflection.json"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue