Date: Mon, 14 Mar 2011 04:21:16 +0100 From: Heiko Baums <lists@baums-on-web.de> To: aur-general@archlinux.org Message-ID: <20110314042116.371e53d9@darkstar> Content-Type: text/plain; charset=US-ASCII
Am Sun, 13 Mar 2011 23:08:06 -0400 schrieb Dave Reisner <d@falconindy.com>:
I don't see how that absolves you from word splitting during expansion. Rather, it enforces the point I made about $varfoo versus ${var}foo. Since / is not a valid character in a variable name, the var name ends before it. How about you do a simple test?
$ var="foo bar" $ touch ${var}
How many files were created? Remember this is bash, not ZSH.
I thought I have tested this already in a PKGBUILD. Maybe I had false memories.
Nevertheless I'd suggest removing the quotation marks. If this is not the reason he can add them again.
Heiko
-1 from me. Please do not stick to the tldp tutorial, it is in many places plain wrong. http://mywiki.wooledge.org/Quotes http://wiki.bash-hackers.org/syntax/words regards mar77i