Closed jkroepke closed 5 years ago
Hi, I think it's a design flaw of place holder. For rush -k '{ echo "{} {A}" && echo "{} {A}"; }'
, rush
think { echo "{}
is a place holder.
We may use new format {{}}
, {{var}}
to avoid this bug.
Well, I fixed this, please help test it: https://github.com/shenwei356/rush/releases/tag/v0.4.1
Prerequisites
rush -V
Describe your issue
{
.I need this because: https://stackoverflow.com/questions/24597818/exit-with-error-message-in-bash-oneline
Expected result:
Actual result:
Workaround (use a sub shell):