🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.os.unix.linux.misc
Article #257

Probleme mit while bei Shell Skript

#257
From: Peter Smith
Date: Sat, 26 Oct 2002 08:21
21 lines
1617 bytes
Hallo,
ich habe ein Problem bei der Shell Programmierung mit einer While Schleife.
Bei diese Skript
---snip
#/bin/bash
while true; do
  echo "Ich lebe"
done
---snap

bekomme ich diesen
---
line 5: syntax error: unexpected end of file
---
Fehler. Woran liegt das ? Ich habe doch keine offenen Klammern / Done 
vergessen oder �hnliches drin.

Kann mir da einer weiterhelfen ? Vielen Dank im vorraus!

Gru�
-Peter
Technical Details
Message-ID: <apdja8$s0n$00$1@news.t-online.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!wuff.zikzak.de!akk.uni-karlsruhe.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f55df,c3b306622a8a4749,start
X-Google-Attributes: gidf55df,public
X-Google-Thread: f4b73,c3b306622a8a4749,start
X-Google-Attributes: gidf4b73,public
X-Google-ArrivalTime: 2002-10-26 01:22:03 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!wuff.zikzak.de!akk.uni-karlsruhe.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
From: Peter Smith <petersmith1960@yahoo.de>
Newsgroups: de.comp.os.unix.linux.misc,ch.comp.os.linux
Subject: Probleme mit while bei Shell Skript
Date: Sat, 26 Oct 2002 10:21:30 +0200
Organization: T-Online
Lines: 22
Message-ID: <apdja8$s0n$00$1@news.t-online.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1035620488 00 28695 4FQ4bHZXSaYNqi 021026 08:21:28
X-Complaints-To: abuse@t-online.com
X-Sender: 340004542309-0001@t-dialin.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2b) Gecko/20021016
X-Accept-Language: en-us, en
X-Enigmail-Version: 0.70.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime