From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6569 invoked by alias); 20 Jul 2010 14:13:36 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15193 Received: (qmail 29266 invoked from network); 20 Jul 2010 14:13:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at free.fr does not designate permitted sender hosts) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: zsh portable script From: =?iso-8859-1?Q?Fran=E7ois_Revol?= In-Reply-To: Date: Tue, 20 Jul 2010 16:13:22 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <9DC6FBB5-F80D-45E0-BD73-430EB399D04A@free.fr> References: <1007130241570.5546@smasher> <201007121737.21296.joke@seiken.de> To: zsh-users@zsh.org X-Mailer: Apple Mail (2.1081) Le 20 juil. 2010 =E0 16:01, Thorsten Kampe a =E9crit : >> Indeed, this kind of "too smart" stuff fails miserably on BeOS and = Haiku, which does not have /usr. >=20 > Now that is a really convincing argument. BeOS was last updated in = 2001=20 > and "Haiku" has reached now Alpha stage after nine years. Seriously, = on=20 Oh that's a nice way to discard both the question and consideration for = non-mainstream OSes (or should I say "anything non-linux" ?). > systems that don't follow the FHS at all, you will have a lot more=20 > serious problems running any kind of script. I ran many shell/perl/python/=85 scripts in BeOS and Haiku for years = without much trouble. Not that much as with people thinking using autofools makes their apps = automagically portable but forget to test for libm. I've ported mercurial to BeOS & Haiku, and, co=EFncidentally the only = thing I had to change was exactly this #!/usr/bin/env python crap. And it works very well (unlike git which was ported but is as unusable = as on linux :p). Fran=E7ois.=