Re: Bug in expr?

2003-07-03 Thread Jim Meyering
MONWHEA JENG [EMAIL PROTECTED] wrote: I think there is a bug in expr. When I type expr 2 * 3, I get expr: syntax error. The man page for expr leads me to think that I should get 6. Thanks, but that's not a bug. Your shell is expanding the `*' to a list of all (or most) of the files in

Re: subtle sort bug?

2003-07-03 Thread gregory mott
On Tue, 2003-07-01 at 23:18, Paul Eggert wrote: gregory mott [EMAIL PROTECTED] writes: can you point me to an appropriate RTFM that ideally would layout what encodings are used by what locales, or how to tell what encoding you have/need, etc usw? Sorry, no; this stuff tends to be

Re: subtle sort bug?

2003-07-03 Thread Paul Eggert
gregory mott [EMAIL PROTECTED] writes: when i pass textual input to sort, how does sort come to decide or infer the encoding? From the locale. It looks at the LC_ALL environment variable; if that isn't set it looks at LC_CTYPE; if that isn't set it looks at LANG; otherwise the default locale

PATCH: --dirsfirst option for ls

2003-07-03 Thread Bryan Donlan
Attached is a patch which adds support for a directory-first sort mode for ls. This mode can be used in two ways: -e/--dirsfirst [--sort=method]: Sorts directories first, then by the specified method (by name, by default) --sort=dirsfirst: Sorts directories first, then by name diff -Naur