ne pas insérer d'espace supplémentaire

This commit is contained in:
Jephté Clain 2014-04-23 18:26:14 +04:00
parent b1595ea6eb
commit 8d37156375
1 changed files with 4 additions and 4 deletions

View File

@ -38,9 +38,9 @@ function recho() {
if [[ "${1:0:2}" == -[eEn] ]]; then if [[ "${1:0:2}" == -[eEn] ]]; then
echo -n - echo -n -
local first="${1:1}"; shift local first="${1:1}"; shift
echo "$first" "$@" echo "$first$@"
else else
echo "$*" echo "$@"
fi fi
} }
function recho_() { function recho_() {
@ -49,9 +49,9 @@ function recho_() {
if [[ "${1:0:2}" == -[eEn] ]]; then if [[ "${1:0:2}" == -[eEn] ]]; then
echo -n - echo -n -
local first="${1:1}"; shift local first="${1:1}"; shift
echo -n "$first" "$@" echo -n "$first$@"
else else
echo -n "$*" echo -n "$@"
fi fi
} }
function qval() { function qval() {