Re: Invalid Operating System

[prev] [thread] [next] [lurker] [Date index for 2006/12/10]

From: H.Merijn Brand
Subject: Re: Invalid Operating System
Date: 17:55 on 10 Dec 2006
On Sun, 10 Dec 2006 19:39:43 +0200, Yossi Kreinin
<yossi.kreinin@xxxxxxxx.xxx> wrote:

> Timothy Knox wrote:
> >>
> >>Sometimes there is /usr/bin/env but not /bin/env. Turtles all the
> >>way down.
> > 
> > 
> > Not just sometimes. On the FreeBSD box I happen to do my email on, it's
> > /usr/bin/env. People who only deal with a few (or one) flavour of Unix
> > think portability is simple (just do it the way (my) Unix does it). I work
> > in Linux (RHEL4 clone), Solaris (9, 10), and Cygwin/Windows. *sigh* Oh, and
> > I forgot FreeBSD. And Mac OS X.
> > 
> > "Consistency? Hah! Simplicity? Hah! A Jedi craves not these things!"
> > 
> > Pfui!
> > 
> 
> I see a start-up: development, maintainance and distribution of 
> whereisenvdamnit. Usage example: #!/bin/whereisenvdamnit env tcsh. The key 
> technology is a network of professional killers hunting down losers who place 
> whereisenv is /usr/bin/, /loser/bin and the like.
> 
> We could make a fortune!
> 
> I wonder if those systems where you can't have long #! lines are still around 
> though. That could jeopardize the success of the enterprise.

Why not send in patches to all shells and OS distros so that we don't need a
PATH anymore, but

	#!sh

	#!perl

will just work (TM) and takes the one found first in $PATH
Ohhhhhh, such idylle

-- 
H.Merijn Brand         Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using & porting perl 5.6.2, 5.8.x, 5.9.x   on HP-UX 10.20, 11.00, 11.11,
& 11.23, SuSE 10.0 & 10.1, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org
http://mirrors.develooper.com/hpux/            http://www.test-smoke.org
                        http://www.goldmark.org/jeff/stupid-disclaimers/

Generated at 22:01 on 27 Dec 2006 by mariachi 0.52