Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: What can we do with the drunken libc?



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