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

Re: 'LC_COLLATE=de ls [A-Z]*' expands to 'every file' including lowercase



On Jul 8, 10:36am, Zoltan Hidvegi wrote:
} Subject: Re: 'LC_COLLATE=de ls [A-Z]*' expands to 'every file' including l
}
} > Which standard, specifically?
} 
} POSIX 1003.2 and X Open Single Unix Spcification Version 2.

Well, yes, but I meant which volume.  Commands and Utilities?

} It says:
} 
}           Range expressions shall not be used in Strictly Conforming
}           POSIX.2 Applications because their behavior is dependent on the
}           collating sequence.  Range expressions shall be supported by
}           conforming implementations.

I just love it when committees do stuff like that.  What does it mean for
a shell to "support" but "not use" range expressions?

I still think that in this case the cure is worse than the disease.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author