mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-19 00:37:51 +00:00
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" "$@"
|
||
|
}
|