On 12/08/2011 07:00 PM, Chow Loong Jin wrote: > On 09/12/2011 01:40, Gergely Nagy wrote: >> Adam Borowski <kilob...@angband.pl> writes: >> >>>>> *tadaaaa* >>>>> It would need to be a compiled program, since you can’t use scripts in >>>>> shebangs. >>>> >>>> Wrong, you can. >>> >>> On Linux and Hurd, yeah. >>> On kFreeBSD, you can't. >>> >>> But hey, FreeBSD folks learned about basic niceties like tab completion just >>> last year, give them a decade or two and you'll have recursive shebangs too. >>> >>> Unless we cheat and s|^#!|#!/usr/bin/env |, that is. This works. >> >> See my workaround in the mail you quoted. "#! /bin/sh $PATH" should work >> for kFreeBSD and pretty much anything else out there too. An extra >> /bin/sh never hurt anybody! > > Except that it forces your interpreter to be written in sh, which Debian > doesn't > like[1][2]. > > [1] http://lintian.debian.org/tags/script-with-language-extension.html > [2] http://www.debian.org/doc/debian-policy/ch-files.html#s-scripts
Wrong, debian likes sh if you don't try to use !sh stuff in sh scripts. -- Bernd Zeimetz Debian GNU/Linux Developer http://bzed.de http://www.debian.org GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4ee2470c.9080...@bzed.de