On 12/27/2012 08:55 AM, Daniel Reichelt wrote:
> - -----8<--------
> while true
> do
>       if $foo
>       then
>               cat >foo <<-EOF
>                       bar
>                       blah
>               EOF
>       fi
> done
> - -----8<--------

...versus posix-only:

---snip---
while true
do
        if $foo
        then

cat > foo << EOF
bar
blah
EOF

        fi
done
---snap---

there are no technical advantages of the non-posix one over the
posix-only one. it is only a slight cosmetical improvement. and just for
that alone i don't think makes it worth depending on bash or dash. also,
it's not that we do that in lb that often anyway.

thanks for your suggestion though.

-- 
Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
Email:          [email protected]
Internet:       http://people.progress-technologies.net/~daniel.baumann/


-- 
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