On Sat, Sep 25, 2010 at 1:38 PM, Ãvar ArnfjÃrà Bjarmason <avarab@xxxxxxxxx> wrote: > 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. -- 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