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

Re: traceroute /usr/bin -> /usr/sbin



dmaziuk@yola.bmrb.wisc.edu (Dimitri Maziuk) writes:

> * Richard Atterer (deb-devel@list.atterer.net) spake thusly:
> > On Thu, Jun 21, 2001 at 03:40:38PM -0500, Dimitri Maziuk wrote:
> .... And all those have different /bin/sh's so stupid
> > > shebang tricks aren't portable either.
> > 
> > What about '#! /usr/bin/env perl'?
> 
> dmaziuk@tagil ~% which env ; uname -a
> /sbin/env
> IRIX tagil 6.5 05190003 IP22
> 
> HAND
> Dima (ok, there's a symlink in /usr/bin on irix; still, IMNSHO stupid shebang 
> tricks aren't portable)

Also, using this syntax you can't pass flags to the interpreter
(eg. 'perl -w' wouldn't work).

-- sparky



Reply to: