[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: `which` and infinite recursion



On Sat, Jun 22, 2002 at 09:23:47PM -0600, Bob Proulx wrote:
> I would probably file a bug against which that it should use #!/bin/sh
> instead of #!/bin/bash.

Ah, that would be a bad idea unless it's also rewritten:

  $ ash /usr/bin/which gcc
  enable: not found
  -p: not found
  gcc is /usr/bin/gcc

('enable' and 'type -p' are bashisms.)

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: