minor README

This commit is contained in:
Michiel Borkent 2022-12-19 14:41:13 +01:00
parent 2535299be8
commit 37e2da9f5b
2 changed files with 4 additions and 3 deletions

View file

@ -53,7 +53,7 @@ anywhere on the path.
Then you're ready to go: Then you're ready to go:
``` shellsession ``` shellsession
$ ls | bb -i '(filter #(-> % io/file .isDirectory) *input*)' $ ls | bb -i '(filter fs/directory? *input*)'
("doc" "resources" "sci" "script" "src" "target" "test") ("doc" "resources" "sci" "script" "src" "target" "test")
bb took 4ms. bb took 4ms.
``` ```
@ -109,7 +109,8 @@ $ bb '(vec (dedupe *input*))' <<< '[1 1 1 1 2]'
[1 2] [1 2]
``` ```
Read more about input and output flags [here](https://book.babashka.org/#_input_and_output_flags). Read more about `*input*` and in- and output flags
[here](https://book.babashka.org/#_input_and_output_flags).
Execute a script. E.g. print the current time in California using the Execute a script. E.g. print the current time in California using the
`java.time` API: `java.time` API:

2
sci

@ -1 +1 @@
Subproject commit 280865a9850d3befd5239bf42b3aa016230bc0c4 Subproject commit 79f905cc7cb2a323d080bec7805df0c9eb8e65d0