-
Notifications
You must be signed in to change notification settings - Fork 0
echo
zeta709 edited this page Jan 24, 2022
·
2 revisions
The examples below are from [1].
echo() (
IFS=" "
printf '%s\n' "$*"
)
echo_n() (
IFS=" "
printf '%s' "$*"
)
echo_e() (
IFS=" "
printf '%b\n' "$*"
)You may use local keyword instead of using a subshell.