From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Date: Sun, 10 Apr 2005 17:37:21 +0000 Subject: Re: [klibc] not everybody uses bash Message-Id: <42596451.5030707@zytor.com> List-Id: References: <20050408170525.GU15412@boetes.org> In-Reply-To: <20050408170525.GU15412@boetes.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Han Boetes wrote: > H. Peter Anvin wrote: > >>Han Boetes wrote: >> >>>Though most people do have which installed somewhere. >> >>Denied. which has really bad properties on a lot of shells, and >>unless you can trust "make" to invoke /usr/bin/which (or >>whatever it happens to be), then you're screwed. >> >>The reason the script invokes bash explicitly is to deal with >>people who *aren't* using bash as a shell. > > > If people don't _have_ bash as a shell it won't work at all. > > Every shell I know has ``type foo'' and return something like > ``foo is /usr/bin/foo'' > "something like" isn't very good. Anyway, I already reimplemented the path search in Perl in 1.0.6, eliminating the need for the shell to do that job. -hpa ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel