Re: [PATCHv3 15/16] Add missing &&'s throughout the testsuite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]