[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with LANG env variable
On 9/18/07, .ukasz Nowak <lkn@niema.pl> wrote:
> In few places (like CedarBackup2/extend/split.py, about line
> pattern = re.compile(r"(creating file `)(%s)(.*)(')" % prefix)
> )
>
> Cedar backup is assuming that system LANG will be set to author's
> default - C. But if you work with another LANG selection, those
> patterns won't find anything.
Actually, it works with values of $LANG other than "C", like "en". I
didn't realize that split's output was localized. :)
> As workaround invoke cback* utilities with LANG=C, eg:
> LANG=C cback split
Yep, that's good for now.
I'll see if I can find another way to do this; maybe I can find a way
to set the local to C or en for any program I execute, just so the
execution environment is consistent.
Thanks for the report and the workaround.
KEN
--
Kenneth J. Pronovici <pronovic@ieee.org>
http://www.cedar-solutions.com/
--
To unsubscribe, send mail to cedar-backup-users-unsubscribe@cedar-solutions.com.