[CentOS] Real sh? Or other efficient shell for non-interactive scripts

Mon Apr 27 09:36:37 UTC 2015
Joerg Schilling <Joerg.Schilling at fokus.fraunhofer.de>

John R Pierce <pierce at hogranch.com> wrote:

> oh fun, just did some tests (using c6.latest).   if you're in bash, 
> ./script (sans shebang) runs it in bash.  if you're in dash or csh, 
> ./script runs it in sh.    if you're in ksh, it runs it in ksh.

See my other mail.

The scripts (unless marked) are run by the current interpreter. Csh
runs unmarked scripts by "sh".

Jörg

-- 
 EMail:joerg at schily.net                    (home) Jörg Schilling D-13353 Berlin
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ http://sourceforge.net/projects/schilytools/files/'