-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> well, you haven't showed any reason where/why we should use 'here-
> documents' at all, you only made an argument for why you think using the
> posix-only subset doesn't make sense to you (in your use-case).
> 

well, communication's a bitch sometimes. didn't realize that/where i'd
lost you.


this is called a "here document":

- -----8<--------
cat >foo << EOF
bar
blah
EOF
- -----8<--------


with my proposal of using "<<-EOF" instead of "<<EOF" applied, this
could be properly indented in the shell scripts:

- -----8<--------
while true
do
        if $foo
        then
                cat >foo <<-EOF
                        bar
                        blah
                EOF
        fi
done
- -----8<--------

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJQ2/7vAAoJEIWTgWPaKFdz6ZIP/2uLGT3ZTCKAxYPeWhQCblVt
wGi8/B8saZ7FZ4UauRUiJgS3q/D6R2tdgPcDPb2FkaScrPeqoMi1rJIRoPC7q7Q0
Ghxf1AfuLEbsiV4vbB1Da2tiT6rOy/SDNeX7aS293ZvRYHNvgrw1Egne4G5Qazvz
bo5K9dB2deFSacA5pi0DBnPh5olL0bEKY3x7HtFM/zVWGHCzfuomnslobTbMaxIC
i0zo+sgYgivWf5AoqeinC/hMX9ZEdCKLrLJyx5mLt3si8B0Juo5ruy0+TLhKrXUW
YuFfJDxSQ4NvqfKZ6d6L6qaA9jnKFutSAicOOYcf6H7YeHLs3QhjbkpbEURfMfrJ
VVSckK7WrKxfB7iH703iLG2K1avwYP6TLPjg+dG4mGPN8jOct4a6bEzjdZ0Di1HC
Rw+yMgArUJChRpWLoBFiYQywfm1G381C6GVIurXoyxWj426/bi23m6AZYUpS6Pxl
zCXQ5rVWfGFNU5jzJWbiM/jJPVObcecBiy93yOVgvPqigr5xBHBKus1TlmonQz8z
H4DrZU6lQ0RNhq9oXhDEPwZ1M6dbpD0h+W/IkTe7b2UWUUz7D2fTv2IiAScgZP7T
GMWa/NAvYoVmJNS9pmTKSeYLKMn/LxS/3kOG2BKXykR/QATeC7NqrlLFJuyB++vo
Vnm8hq+MUztKbGehRLBN
=mbus
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to