From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78992 Path: news.gmane.org!not-for-mail From: Bill Meahan Newsgroups: gmane.comp.tex.context Subject: Re: scripts Date: Tue, 30 Oct 2012 19:44:20 -0400 Message-ID: <50906654.1080003@meahan.net> References: <50900C46.70305@wxs.nl> <50900DD3.2090000@meahan.net> <509010D8.9070708@wxs.nl> <509047B4.4060406@meahan.net> <50906100.4040000@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1351640681 27976 80.91.229.3 (30 Oct 2012 23:44:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2012 23:44:41 +0000 (UTC) Cc: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 31 00:44:50 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TTLUH-0001dl-PU for gctc-ntg-context-518@m.gmane.org; Wed, 31 Oct 2012 00:44:49 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E81EC1021F; Wed, 31 Oct 2012 00:44:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sFTiT0fsMWeJ; Wed, 31 Oct 2012 00:44:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 29B3C10278; Wed, 31 Oct 2012 00:44:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F014C10278 for ; Wed, 31 Oct 2012 00:44:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uSW-+hZE6DPp for ; Wed, 31 Oct 2012 00:44:36 +0100 (CET) Original-Received: from submission1-ams.mf.surf.net (submission1-ams.mf.surf.net [192.87.102.68]) by balder.ntg.nl (Postfix) with ESMTP id 783D71021F for ; Wed, 31 Oct 2012 00:44:36 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams-v6.mf.surf.net [IPv6:2001:610:1:80ab:192:87:102:72]) by submission1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9UNiWJx023028 for ; Wed, 31 Oct 2012 00:44:36 +0100 Original-Received: from mail32c40.carrierzone.com (mail32c40.carrierzone.com [209.235.156.172]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9UNq7Ol011300 for ; Wed, 31 Oct 2012 00:52:11 +0100 X-Authenticated-User: subscribed_lists.meahan.net Original-Received: from [192.168.1.151] (d27-96-221-12.nap.wideopenwest.com [96.27.12.221]) (authenticated bits=0) by mail32c40.carrierzone.com (8.13.6/8.13.1) with ESMTP id q9UNiL6b029164 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 30 Oct 2012 23:44:22 +0000 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 In-Reply-To: <50906100.4040000@wxs.nl> X-CSC: 0 X-CHA: v=1.1 cv=3nE4U+LLzUWRlyCfDtQs7U0OvvD1IE2ERCYIaETTq5Q= c=1 sm=1 a=D5HH5mBpWgsA:10 a=Olzf91-8vUEA:10 a=IkcTkHD0fZMA:10 a=gQI4EhXLwm578WU9SoM/2Q==:17 a=XC9vtYSJY_PGoWOD06wA:9 a=QEXdDO2ut3YA:10 a=gQI4EhXLwm578WU9SoM/2Q==:117 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A020204.50906656.0098, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.235.156.172; country=US; region=FL; city=Fort Lauderdale; postalcode=33301; latitude=26.1209; longitude=-80.1273; metrocode=528; areacode=954; http://maps.google.com/maps?q=26.1209,-80.1273&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01IhzQ7S9 - cfc72e5eaa21 - 20121031 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78992 Archived-At: On 10/30/2012 07:21 PM, Hans Hagen wrote: > > So the question is, should the scripts that come with context (like > the installer) be explicit and become #! /bin/bash ? > > Hans > > > If you're depending on specific syntax or features of bash, that would be the way to go. I suspect most/all Linux and BSD distributions come with bash, even if it's not the default shell. Solaris or HPUX or AIX not so much. Since I didn't always have root, I couldn't install bash even if I wanted to so I stuck to Bourne shell. KSH93 is a superset but 100% upwards compatible so anything written for the Bourne shell will run as expected. Not quite sure what PDKSH does. -- Bill Meahan Westland, Michigan USA ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________