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

Bash, Shells, POSIX (was: Re: punkte zählen)



On Fri, Feb 10, 2006 at 05:53:30PM +0100, Andreas Loesch wrote:
> <quote>
> Bash is intended to be a conformant implementation of the IEEE POSIX 
> Shell and Tools specification (IEEE Working Group 1003.2).
> </quote>

Die Bash verhaelt sich POSIX-konform, wenn man sie mit --posix startet oder
als "sh" aufruft. Ob POSIX-Konformitaet unbedingt erstrebenswert ist, ist
ein anderes Thema. Bei der Diskussion kaemen wir aber weit vom Thema ab.

Aus man bash:

  If bash is invoked with the name sh, it tries to mimic the startup
  behavior of historical versions of sh as closely as possible, while
  conforming to the POSIX standard as well.

Wenn ich dann aber anfange, mir Gedanken wegen der Geschwindigkeit der Bash
zu machen, wechsle ich sowieso zu einer anderen Scriptsprache wie Perl. Man
sollte immer das passende Werkzeug auswaehlen. Shells benutze ich
vorwiegend wegen ihrer interaktiven Features und in Scripts noch, solange
ich Shell-typische Sachen automatisiere.

Und interaktiv am brauchbarsten finde ich die zsh. Your mileage may vary,
of course.

	--jc

P.S. Ich habe mal das Subject an's Thema angepasst.

-- 
   A Subject: line is a terrible thing to waste. Your Subject: line should
   be a concise and explicit summary of the situation.
	-- David N. Blank-Edelman in Perl for System Administration



Reply to: