[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap tool result codes
On Wed, 5 Oct 2005, Hallvard B Furuseth wrote:
> > The point is: LDAP error codes are integers, while command return
> > codes for portability __should__ limited to "chars" (o->255) as far as
> > I can tell (please correct me).
>
> Yes. Or even 0->127, since $? in the shell is 128 + signal number when
> the process died due to signal. No idea if that's standard or a
> deliberate bash feature or what, or if it's just lazy OS-dependent code.
That's been the case for every Unix/shell I've used over the past 30
years.
--
Dave Horsfall DTM VK2KFU daveh@ci.com.au Ph: +61 2 9552-5509 (d) -5500 (sw)
Corinthian Engineering P/L, 54/19-21 Pirrama Rd, Pyrmont, NSW 2009, Australia