Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14373 > unrolled thread
| Started by | Denys Vlasenko <dvlasenk@redhat.com> |
|---|---|
| First post | 2018-07-20 16:46 +0200 |
| Last post | 2018-07-20 16:46 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Empty ""s in ARG in ${x:+ARG} expand to no words instead of the empty word if prepended/appended with space Denys Vlasenko <dvlasenk@redhat.com> - 2018-07-20 16:46 +0200
| From | Denys Vlasenko <dvlasenk@redhat.com> |
|---|---|
| Date | 2018-07-20 16:46 +0200 |
| Subject | Re: Empty ""s in ARG in ${x:+ARG} expand to no words instead of the empty word if prepended/appended with space |
| Message-ID | <mailman.3902.1532097989.1292.bug-bash@gnu.org> |
On 07/20/2018 04:43 PM, Denys Vlasenko wrote:
> $ ${x:+"" }
> ^^^^^^^^^^^ prints nothing, bug?
Should be:
$ f ${x:+"" }
> $ f ${x:+"$e""$e"""}
> ^^^^^^^^^^^ prints nothing, bug?
Should be:
$ f ${x:+"$e""$e" ""}
sorry.
Back to top | Article view | gnu.bash.bug
csiph-web