From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14704 invoked from network); 4 Oct 2001 04:44:41 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 4 Oct 2001 04:44:41 -0000 Received: (qmail 2308 invoked by alias); 4 Oct 2001 04:44:31 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4340 Received: (qmail 2297 invoked from network); 4 Oct 2001 04:44:30 -0000 Date: Thu, 4 Oct 2001 00:43:08 -0400 From: Sweth Chandramouli To: zsh-users@sunsite.dk Subject: Re: compctl -g not working Message-ID: <20011004004307.C18930@astaroth.sweth.net> Mail-Followup-To: zsh-users@sunsite.dk References: <20011002225307.A13954@astaroth.sweth.net> <87adz976ru.fsf@ceramic.fifi.org> <20011002231841.B14325@astaroth.sweth.net> <1011003040449.ZM25370@candle.brasslantern.com> <20011003001256.B14675@astaroth.sweth.net> <1011003060441.ZM25764@candle.brasslantern.com> <20011003021524.A15356@astaroth.sweth.net> <1011003162422.ZM29481@candle.brasslantern.com> <20011003142330.A16765@astaroth.sweth.net> <1011004042305.ZM30162@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="kA1LkgxZ0NN7Mz3A" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1011004042305.ZM30162@candle.brasslantern.com> --kA1LkgxZ0NN7Mz3A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 04, 2001 at 04:23:05AM +0000, Bart Schaefer wrote: > I apologize; it's not kshglob that's the problem, it's shglob. >=20 > SH_GLOB > Disables the special meaning of `(', `|', `)' and '<' for globbing > the result of parameter and command substitutions, and in some > other places where the shell accepts patterns. This option is > set by default if zsh is invoked as sh or ksh. >=20 > One of the "some other places" is in compctl expressions. Aha! That's it; I now remember that, some months ago, I ran into a problem where the result of a command substitution was getting globbed inappropriately (or at least in a way that I found very non-intuitive), so I turned on SH_GLOB. Since I still prefer that behaviour, and compctl can use -s to acheive the same result, I'll just switch to -s instead. (What are the odds of the manpage getting updated to note that "some other places" includes compctl -g, but not compctl -s, and the fact that BARE_GLOB_QUAL overrides KSH_GLOB?) -- Sweth. --=20 Sweth Chandramouli ; President, Idiopathic Systems Consulting --kA1LkgxZ0NN7Mz3A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (SunOS) Comment: For info see http://www.gnupg.org iEYEARECAAYFAju76NoACgkQDm6vx6GSHlksZgCfYBkHOrBrNNt2nA2cPkGGX9+o zW8AnRa08hD1MQV3VajRDqZ/h0scQzz8 =QO5S -----END PGP SIGNATURE----- --kA1LkgxZ0NN7Mz3A--