On Sat, Sep 25, 2010 at 19:07, Elijah Newren <newren@xxxxxxxxx> wrote: > +    cat <<EOF >.gitattributes > +[attr]notest !test > +f   Âtest=f > +a/i test=a/i > +onoff test -test > +offon -test test > +no notest > +EOF && > +    cat <<EOF >a/.gitattributes > +g test=a/g > +b/g test=a/b/g > +EOF && > +    cat <<EOF >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 <<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? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html