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

Re: Stupid shebang tricks



On Wed, 2005-05-11 at 11:07 +1000, Ben Finney wrote:

> 
> To what extent should that be used? Is it reasonable to do it for
> *any* shebang line? '#!/usr/bin/env make'? '#!/usr/bin/env bash'?
> Are there any downsides?

AFAIK you can't pass parameters to the program :

#!/bin/env python --debug

Should work according the man page, but I've never managed to make it
work - and I'm not sure its portable even if it does.

Cheers,
Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: