From: Ævar Arnfjörð Bjarmason Date: Sat, 25 Sep 2010 19:38:27 GMT Subject: Re: [PATCHv3 15/16] Add missing &&'s throughout the testsuite Message-ID: In-Reply-To: <1285441627-28233-16-git-send-email-newren@gmail.com> On Sat, Sep 25, 2010 at 19:07, Elijah Newren wrote: > +       cat <.gitattributes > +[attr]notest !test > +f      test=f > +a/i test=a/i > +onoff test -test > +offon -test test > +no notest > +EOF && > +       cat <a/.gitattributes > +g test=a/g > +b/g test=a/b/g > +EOF && > +       cat <a/b/.gitattributes > +h test=a/b/h > +d/* test=a/b/d/* > +d/yes notest > +EOF >  ' Why is the && at the end of the EOF, on my system with dash: $ cat /tmp/meh.sh #!/bin/sh cat </tmp/file foo bar EOF && cat <>/tmp/file foo bar EOF $ /bin/dash /tmp/meh.sh ; cat /tmp/file foo bar EOF && cat <>/tmp/file foo bar The && should be directly after /tmp/file, no?