[PATCH] Fall back to one colum "help" printout in non-C locales

2012-09-09 Thread Nguyễn Thái Ngọc Duy
--- We could at least support 2-column layout for UTF-8 later. This is still useful as fallback for non-UTF8 locales. Comments? builtins/help.def | 17 + 1 tập tin đã bị thay đổi, 17 được thêm vào(+) diff --git a/builtins/help.def b/builtins/help.def index 8fb0e2b..3e7239a 10

Re: cygwin: glob successfully for executables without ".exe" suffix

2012-09-09 Thread John E. Malmberg
On 9/9/2012 7:52 PM, Gregory M. Turner wrote: The enclosed patch fixes (or tries to fix) the inability to glob for executable files on cygwin without the ".exe" suffix. This is required because cygwin has a hack to behave as though foo and foo.exe both exist as hardlinks to the same file, but un

cygwin: glob successfully for executables without ".exe" suffix

2012-09-09 Thread Gregory M. Turner
The enclosed patch fixes (or tries to fix) the inability to glob for executable files on cygwin without the ".exe" suffix. This is required because cygwin has a hack to behave as though foo and foo.exe both exist as hardlinks to the same file, but unlike a real hard-link, readdir() only provid

Re: Some issues with short-circuiting arithmetic operators

2012-09-09 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/5/12 10:40 PM, Dan Douglas wrote: > This reorder function is meant to swap values of a two-element array if > unordered. Bash and ksh produce reversed results. mksh and zsh do as expected. [...] > The Ksh issue seems to be that an explicit