mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-18 16:27:52 +00:00
18 lines
308 B
Bash
18 lines
308 B
Bash
name=Willy
|
|
MO_ALLOW_FUNCTION_ARGUMENTS=true
|
|
|
|
pipeTo() {
|
|
echo -n "$1" | "$2"
|
|
}
|
|
|
|
testArgs() {
|
|
printf "%d" "$#"
|
|
|
|
# Remove content. Note that when zero arguments are passed, this
|
|
# line does nothing and $1 will still be the content.
|
|
shift
|
|
|
|
# Display all arguments
|
|
printf " %q" "$@"
|
|
}
|