Re: manpage error-Arithmetic Evaluation of numbers with explicit base

2010-03-29 Thread Thomas Bartosik
Well OK, I understand. Still I think there should be a difference in the man page when it comes to brackets. When talking about arrays, the brackets are NOT an option but mandatory. (and it might be me being uneducated, but how to you print out the decimal equivalent of binary 11 without using

Re: manpage error-Arithmetic Evaluation of numbers with explicit base

2010-03-29 Thread Greg Wooledge
On Mon, Mar 29, 2010 at 02:22:35PM +0200, Thomas Bartosik wrote: Well OK, I understand. Still I think there should be a difference in the man page when it comes to brackets. When talking about arrays, the brackets are NOT an option but mandatory. That's correct. Referencing a specific element

Re: manpage error-Arithmetic Evaluation of numbers with explicit base

2010-03-29 Thread Thomas Bartosik
Don't get me wrong, I am a full time bash script programmer and I do know how man pages (and their syntax) look like. I use this syntax myself in every usage() I write... Still I think it is misleading. I simply cannot see how a newb can tell the difference between a bracket that's part of the

Re: manpage error-Arithmetic Evaluation of numbers with explicit base

2010-03-29 Thread Marc Herbert
Le 29/03/2010 14:50, Thomas Bartosik a écrit : Please don't get me wrong. I have no problem in understanding the man page this way, but I do think it is inconsistent. It's a pity that square brackets are used both in the language itself and in its syntactic definitions but this is bound to

Re: Built-in test -x fails for root on FreeBSD

2010-03-29 Thread Eric Blake
On 03/29/2010 10:36 AM, Johan Hattne wrote: It also states for faccessat (eaccess is a non-portable interface comparable to the standardized faccessat): But faccessat() does not really have anything to do with test? test(1) should be implemented using faccessat(2) or equivalent, in order to

Re: Built-in test -x fails for root on FreeBSD

2010-03-29 Thread Johan Hattne
On 03/29/10 11:42, Eric Blake wrote: Therefore, it is perfectly acceptable for the root user to claim that a file is executable, as reported by eaccess, even if none of the file permission bits grant such permission. Yes, but test should still return false if the file isn't executable by

Re: Completion List color

2010-03-29 Thread Chet Ramey
On 3/29/10 4:40 PM, MJ wrote: Hi, I was wondering if there is a way to set the color used for the completion listing? I would like it to stand out somewhat compared to my default prompt color. There is currently no way to do that. -- ``The lyf so short, the craft so long to lerne.'' -