From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5582 invoked from network); 2 May 2007 17:18:49 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.8 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 2 May 2007 17:18:49 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 74596 invoked from network); 2 May 2007 17:18:44 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 2 May 2007 17:18:44 -0000 Received: (qmail 19480 invoked by alias); 2 May 2007 17:18:38 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23383 Received: (qmail 19470 invoked from network); 2 May 2007 17:18:37 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 2 May 2007 17:18:37 -0000 Received: (qmail 73847 invoked from network); 2 May 2007 17:18:37 -0000 Received: from flock1.newmail.ru (82.204.219.207) by a.mx.sunsite.dk with SMTP; 2 May 2007 17:18:34 -0000 Received: (qmail 14257 invoked from network); 2 May 2007 17:18:28 -0000 Received: from unknown (HELO cooker.local) (arvidjaar@newmail.ru@91.76.106.21) by smtpd.newmail.ru with SMTP; 2 May 2007 17:18:28 -0000 From: Andrey Borzenkov To: zsh-workers@sunsite.dk Subject: Re: PATCH: zsh/regex and =~ Date: Wed, 2 May 2007 21:18:27 +0400 User-Agent: KMail/1.9.6 References: <693135.1529.qm@web36808.mail.mud.yahoo.com> <20070502173618.449b99ef.pws@csr.com> <070502095436.ZM23702@torch.brasslantern.com> In-Reply-To: <070502095436.ZM23702@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1320793.XCf3z2kcFR"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200705022118.27857.arvidjaar@newmail.ru> --nextPart1320793.XCf3z2kcFR Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 02 May 2007, Bart Schaefer wrote: > On May 2, 5:36pm, Peter Stephenson wrote: > } > } > Only thing missing being support for echo $"Starting foo:" style > } > messages (used to localizate the message) but that's not much of a > } > problem. > } > } I don't even know how that works; it doesn't appear to be excessively > } well documented. > > I'm sure it relies on GNU gettext. > this is unspecified. On systems supporting gettext it is likely it; it may= =20 well be catgets (if my memory serves me right) or whatever. > $"Your message here" is equivalent to $(gettext -s "Your message here"), > as far as I can tell, though it calls the library internally rather than > executing it as an external command. > One problem is I do not see any portable way to specify message catalog whe= n=20 using $"...". You are unlikely to be interested in internal bash messages. --nextPart1320793.XCf3z2kcFR Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGOMfjR6LMutpd94wRArVwAKCXVVxNpFIAQpgvYqV8bYq2icCg2ACgy72B skKjo8wDP09H/rk2BL8cAH0= =wV7I -----END PGP SIGNATURE----- --nextPart1320793.XCf3z2kcFR--