babashka / book

Babashka book

Home Page:https://book.babashka.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in "Input and output flags" section

dgr opened this issue · comments

The "hello bye" examples in the table in the Input and output flags section have typos. Currently, the table says:

Input Input flags Output flag input Output
{:a 1} {:a 2}     {:a 1} {:a 1}
hello bye -i   ("hello" "bye") ("hello" "bye")
hello bye -i -o ("hello" "bye") hello bye
{:a 1} {:a 2} -I   ({:a 1} {:a 2}) ({:a 1} {:a 2})
{:a 1} {:a 2} -I -O ({:a 1} {:a 2}) {:a 1} {:a 2}

I think this should be:

Input Input flags Output flag input Output
{:a 1} {:a 2}     {:a 1} {:a 1}
hello bye -i   ("hello bye") ("hello bye")
hello bye -i -o ("hello bye") hello bye
{:a 1} {:a 2} -I   ({:a 1} {:a 2}) ({:a 1} {:a 2})
{:a 1} {:a 2} -I -O ({:a 1} {:a 2}) {:a 1} {:a 2}

Note the slight difference: "hello" "bye" vs. "hello bye".

Fixed, thanks. Asciidoc has trouble displaying newlines in table cells, which was the issue.