From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: Using Emacs Lisp for script writing Date: Tue, 22 Dec 2009 20:02:40 +0100 Organization: Informatimago Message-ID: <87ws0erfvz.fsf@hubble.informatimago.com> References: <87hbrrrl3c.fsf@Traian.DecebalComp> <87vdg09ls9.fsf@Traian.DecebalComp> <87y6kv7tzb.fsf@Traian.DecebalComp> <87zl5b41fu.fsf@lion.rapttech.com.au> <871vinrp52.fsf@hubble.informatimago.com> <87skb32b5h.fsf@Traian.DecebalComp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261510856 8682 80.91.229.12 (22 Dec 2009 19:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Dec 2009 19:40:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 22 20:40:48 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NNAb1-0007E7-EJ for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Dec 2009 20:40:39 +0100 Original-Received: from localhost ([127.0.0.1]:34554 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNAb1-0006gG-Mp for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Dec 2009 14:40:39 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-X-Trace: individual.net 0zXiA/jTTzSWayW5UZoUSQTgMtkXSgrd9nyWYSEdW/yprwC7hk Cancel-Lock: sha1:YTMzNDk1ZTgxZTQwYmFiY2ZhNDc1OWEwYjQwNjNlMTFkMTVjYjgyYw== sha1:JE8ik8OWezg/23+2cpXyNfwVW7Y= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/22.3 (gnu/linux) Original-Xref: news.stanford.edu gnu.emacs.help:175732 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70808 Archived-At: Cecil Westerhof writes: > Works like a charm. I made it: > #!/usr/bin/env bash IMO, there's higher probability that /bin/bash be present than /usr/bin/env. And even higher probability that /bin/sh be present. Since you're not using any bash feature in the script, you could as well go for the sure case, and use #!/bin/sh. -- __Pascal Bourguignon__ http://www.informatimago.com/