Re: [PATCHv3 15/16] Add missing &&'s throughout the testsuite
- From
Elijah Newren <newren@gmail.com>
- Date
- Sep 25, 2010, 19:48 UTC
- Message-ID
- <AANLkTim2axfaZ-ehBie4UhSfEDtkofvbW-1DZxe0mp_V@mail.gmail.com>
- In-Reply-To
- <AANLkTi=5_vAu=X0Rg9WeOko1DrYsF6dc=FeHGfUHsUzd@mail.gmail.com>
On Sat, Sep 25, 2010 at 1:38 PM, Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
Show 23 quoted lines
> Why is the && at the end of the EOF, on my system with dash: > > $ cat /tmp/meh.sh > #!/bin/sh > > cat <<EOF >/tmp/file > foo > bar > EOF && > cat <<EOF >>/tmp/file > foo > bar > EOF > > $ /bin/dash /tmp/meh.sh ; cat /tmp/file > foo > bar > EOF && > cat <<EOF >>/tmp/file > foo > bar > > The && should be directly after /tmp/file, no?
Yes, it should. Not sure how I didn't catch this, but thanks for the sharp eye.