aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/function_def.bash')
-rw-r--r--scripts/function_def.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/function_def.bash b/scripts/function_def.bash
index 6f463a4..3918896 100644
--- a/scripts/function_def.bash
+++ b/scripts/function_def.bash
@@ -74,6 +74,7 @@ func_positional_args() {
echo $*
}
func_positional_args 1 2 3
+IFS=" \t\n"
if true; then
function_in_compound_statement() {
@@ -93,3 +94,5 @@ function shift_test() {
}
shift_test 1 2
+test-flag-CC() { echo "CC" "$1"; }
+test-flag-CC abc