bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib-tool incorrectly handles library names with dashes


From: Jim Meyering
Subject: Re: gnulib-tool incorrectly handles library names with dashes
Date: Thu, 05 Jul 2007 13:28:27 +0200

"Sergey Poznyakoff" <address@hidden> wrote:
> Jim, Bruno, thank you. Gathering the bits together, I have rewritten the
> thing as follows:
>
> Index: gnulib-tool
...
> -     libname_upper=`echo "$libname" | LC_ALL=C tr 'a-z' 'A-Z'`
> +     libname_upper=`echo "$libname" | LC_ALL=C tr 'a-z-' 'A-Z_'`

Looks good.

I know you didn't change the single quotes (maybe it's Bruno's
stylistic preference to use them?), but they are superfluous.
There's less syntax this way:

    libname_upper=`echo "$libname" | LC_ALL=C tr a-z- A-Z_`




reply via email to

[Prev in Thread] Current Thread [Next in Thread]