[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3653) ldapsearch -b option doesn't work if there isn't a space




--On Tuesday, April 12, 2005 7:22 AM +0200 Pierangelo Masarati 
<ando@sys-net.it> wrote:

> The behavior you see depends on the shell, that tricks getopt into
> believing the argument to -b is the one after the "-b''"; in fact, for
> the shell, -b'' and -b are exactly the same, i.e. a string made of two
> chars: a dash ("-") and a "b".  The documented usage" -b '' ", on the
> contrary, makes the empty string '' a separate arg.

Ah, I see.. this only strikes when you use an empty string for the base. 
How annoying. ;)

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin