help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Using Emacs Lisp for script writing


From: Tim X
Subject: Re: Using Emacs Lisp for script writing
Date: Wed, 23 Dec 2009 14:19:15 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

address@hidden (Pascal J. Bourguignon) writes:

> Cecil Westerhof <address@hidden> 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.

I second this. If I remember correctly, to be posix compliant, you must
have  sh, but you don't have to have bash or env.

Tim


-- 
tcross (at) rapttech dot com dot au


reply via email to

[Prev in Thread] Current Thread [Next in Thread]