On Sun, May 02, 2010 at 11:01:43AM +0000, Jean-Philippe Guérard wrote:

> When trying to sort an UTF-8 file with 2 sort keys in a bash script, I get
> the following error:

[...]

> Using the same command from the command line does not reproduce the error.
> 
> Here is the script that reproduces the problem:
> ----------------------------------------------------------------------
> #!/bin/bash
> 
> set -x
> 
> msort -l -d '\t' -n 1 -s fr_FR.UTF-8 -n 2 -s fr_FR.UTF-8 test1.txt
> ----------------------------------------------------------------------
> 
> I get no error if I remove the "-n 2 -s fr_FR.UTF-8" part.
> 
> I had this problem with the Debian stable version of msort. Upgrading
> msort to the version in testing has made no difference.

Hmm.. very strange if it occures only when run from script.

Does it depend on input data somehow? Is "test1.txt" important?

regards
fEnIo


-- 
  ,''`.  Bartosz Fenski | mailto:[email protected] | pgp:0x13fefc40 | irc:fEnIo
 : :' :       32-050 Skawina - Glowackiego 3/15 - malopolskie v. - Poland
 `. `'           phone:+48602383548 | proud Debian maintainer and user
   `-            http://fenski.pl | xmpp:[email protected] | rlu:172001

Attachment: signature.asc
Description: Digital signature

Reply via email to