Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: What can we do with the drunken libc?
- X-seq: zsh-workers 18021
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- To: Zsh <zsh-workers@xxxxxxxxxx>
- Subject: Re: What can we do with the drunken libc?
- Date: Thu, 19 Dec 2002 10:46:13 -0600
- In-reply-to: <20021219163435.GA2285@DervishD>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20021219163435.GA2285@DervishD>
In the last episode (Dec 19), DervishD said:
> Hi all :))
>
> Excuse the subject, it's just that I'm starting to be pissed off
> by GNUisms... Let's go to the matter. In the GNU libc 'ldd' script,
> we can see something like:
>
> echo $"Usage: ldd [OPTION]... FILE..."
>
> Obviously, zsh prints '$Usage: ....', but bash prints just
> 'Usage: ...'. Why? Well, because as the bash documentation says, a
> doubled quoted string preceeded by a dollar sign, will cause the
> string to be translated according to the current locale. There are a
> couple of shell variables involved, too, TEXTDOMAIN and TEXTDOMAINDIR.
Debian simply changes the bang path for ldd to /bin/bash, since it uses
/bin/dash (an ash clone) for /bin/sh.
--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author