On Sun, Oct 07, 2007 at 05:25:09PM +0300, Jari Aalto wrote:
> > Is there a shell that has [ but not 'test' as a builtin?
> 
>     dash -c "which test"
>     /usr/bin/test
> 
> My /bin/sh points to dash.

 % dash -c 'which ['
 /usr/bin/[
 
 % dash -c 'which which'
 /usr/bin/which

 `which' is not a dash builtin, and therefore has no idea that
 `test' is.

 % dash -c 'type test'
 test is a shell builtin




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to