[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: quoted and concatenated positional parameters
From: |
Dan Douglas |
Subject: |
Re: quoted and concatenated positional parameters |
Date: |
Thu, 24 May 2012 00:53:08 -0500 |
User-agent: |
KMail/4.8.3 (Linux/3.3.6-pf+; KDE/4.8.3; x86_64; ; ) |
Ugh, Sorry, I forgot to strip trailing whitespace. If that wasn't
comprehensible for anyone, the heredoc in the preceeding the testcase was:
args() { printf '<%s> ' "$@"; echo; }
args "${@}${1}"
args "${@}foo"
args ${@}${1}
args ${@}foo
IFS=
args ${@}${1}
args ${@}foo
EOF
--
Dan Douglas