mo/tests/function.env
Tyler Akins ad98577c42
Changing how functions are called
Old way:

    functionName CONTENT argument1 argument2

New way:

    echo -n "$CONTENT" | functionName argument1 argument2

This follow the Unix style more closely.
2017-11-13 10:13:56 -06:00

6 lines
93 B
Bash

name=Willy
wrapped() {
# This eats the newline in the content
echo "<b>$(cat)</b>"
}