Re: [PATCH v2 3/8] Always double-quote parameter expansions in shell

Oswald Buddenhagen via Mutt-dev <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On Wed, Feb 25, 2026 at 11:53:25AM +0100, Rene Kita wrote:
>+test -d "$LIBICONV"/libcharset/tools || {
>
imo, these constructs look really unnatural and noisy. why not just 
quote the entire string ("word" in shell terms)?

>+for f in "$LIBICONV"/libcharset/tools/* ; do
>
here it gets a bit fuzzy. i'd probably quote right up to the asterisk, 
but i have no strong preference.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.