mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-18 16:27:52 +00:00
a5ec7dd740
This closes #18.
17 lines
275 B
Bash
17 lines
275 B
Bash
name=Willy
|
|
|
|
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" "$@"
|
|
}
|