[Dune-devel] bash in shell scripts

Markus Blatt markus at dr-blatt.de
Thu May 2 09:01:50 CEST 2013


Hi Elias,

thanks a lot for the enlightenment.

On Wed, May 01, 2013 at 08:46:57PM +0200, Elias Pipping wrote:
> On Wed, May 1, 2013 at 12:20 PM, Elias Pipping <pipping.elias at gmail.com>wrote:
> 
> >
> > Here's a quick run-down of some features of interest:
> >
> >   posix shell: $(cmd) to capture output of a command
> >   2.02 (e): [[ command (a replacement for `test` or `[`)
> >   2.05b (n): <<< "here-string" operator
> >   2.05b (g): [:word:] character classes
> >   4.0 (hh): ${var,}, ${var,,}, ${var^}, ${var^^}, etc.
> >

Let us take a look at the versions of some (more stable) distributions:

Debian squeeze (to be old-stable from May 5): 4.1.5(1)
Redhat 5: 3.2.1

While I am all for backwards compatibility (which does not hold here
anyway), discussing bash version 2 seems quite esoteric to me. The
others are supported anyway and nobody had problems yet.

> 
> [Snipped rest of the mail]

Cheers,


Markus

-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 




More information about the Dune-devel mailing list