๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Probleme mit while bei Shell Skript

#256
From: Urs Stotz
Date: Sat, 26 Oct 2002 21:47
25 lines
1562 bytes
Peter Smith schrieb im Artikel <apdja8$s0n$00$1@news.t-online.com>:

Hallo Peter

> 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.

1. Zeile stimmt nicht (wurde schon geschrieben)

poste einmal die Ausgabe von cat -vET SCRIPTNAME

Gruss Urs
Technical Details
Message-ID: <slrnarm39q.3m3.stotz@lunix.solix>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!wuff.zikzak.de!fu-berlin.de!uni-berlin.de!pop-ls-15-1-dialup-210.freesurf.CH!not-for-mail
References: <apdja8$s0n$00$1@news.t-online.com>

Show Full Headers
Complete Article Headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f4b73,c3b306622a8a4749
X-Google-Attributes: gidf4b73,public
X-Google-Thread: f55df,c3b306622a8a4749
X-Google-Attributes: gidf55df,public
X-Google-ArrivalTime: 2002-10-26 14:47:35 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!wuff.zikzak.de!fu-berlin.de!uni-berlin.de!pop-ls-15-1-dialup-210.freesurf.CH!not-for-mail
From: Urs Stotz <stotz@gmx.ch>
Newsgroups: de.comp.os.unix.linux.misc,ch.comp.os.linux
Subject: Re: Probleme mit while bei Shell Skript
Followup-To: ch.comp.os.linux
Date: 26 Oct 2002 21:47:34 GMT
Lines: 25
Message-ID: <slrnarm39q.3m3.stotz@lunix.solix>
References: <apdja8$s0n$00$1@news.t-online.com>
NNTP-Posting-Host: pop-ls-15-1-dialup-210.freesurf.ch (194.230.24.210)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1035668854 1032139 194.230.24.210 (16 [6697])
User-Agent: slrn/0.9.7.4 (Linux)