[linux-l] Datum in Script verwenden

Frank Reker frank at reker.net
Di Apr 10 21:49:08 CEST 2007


Am Tue 10. Apr 2007 17:26 +0200 schrieb Volker Grabsch:

>On Tue, Apr 10, 2007 at 04:02:57PM +0200, Pascal Volk wrote:
>> Es kommt ganz darauf wie man Kommando absetzt, mit oder ohne
>> Anführungszeichen um das EOF.
>
>Ach, du meine Güte. Ist das irgendwo dokumentiert, oder hast du
>das auch nur durch Probieren herausgefunden?

man bash:
----snip-----
       The format of here-documents is:

              <<[-]word
                      here-document
              delimiter

       No parameter expansion, command substitution, arithmetic expansion,  or
       pathname expansion is performed on word.  If any characters in word are
       quoted, the delimiter is the result of quote removal on word,  and  the
       lines  in the here-document are not expanded.  If word is unquoted, all
       lines of the here-document are subjected to parameter  expansion,  com-
       mand  substitution,  and arithmetic expansion.  In the latter case, the
       character sequence \<newline> is ignored, and \ must be used  to  quote
       the characters \, $ and
-----snap-----




- 
Don't worry be happy ...
Ciao Frank
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname   : nicht verfügbar
Dateityp    : application/pgp-signature
Dateigröße  : 189 bytes
Beschreibung: nicht verfügbar
URL         : <https://mlists.in-berlin.de/pipermail/linux-l-mlists.in-berlin.de/attachments/20070410/33ea1c59/attachment.sig>


Mehr Informationen über die Mailingliste linux-l