commit ac43b42528997ced6cbfe1e5e62317ba1ed9470b parent 3cf69722be344e12df639be467a53ccc6d09ca07 Author: dwrz <dwrz@dwrz.net> Date: Fri, 28 Jun 2019 07:22:27 +0000 Refactor bash/two_fer Diffstat:
M | bash/two-fer/two_fer.sh | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/bash/two-fer/two_fer.sh b/bash/two-fer/two_fer.sh @@ -1,3 +1,7 @@ #!/usr/bin/env bash -echo "One for ${1:-you}, one for me." +main() { + echo "One for ${1:-you}, one for me." +} + +main "$@"