Article View: ch.comp.os.linux
Article #579Re: Bash Shell Frage -> if
From: Visvanath Ratnaweera
Date: Mon, 21 Jan 2008 12:55
Date: Mon, 21 Jan 2008 12:55
16 lines
1411 bytes
1411 bytes
Am 21.01.2008 13:36, Erich Rieder schrieb:
>
> if [ "$datum1" = "Mo" ]; then
>
> Musste Abst�nde machen/auslassen.
Hast du ja rausgefunden!
Sonst zwei Sachen:
- "$datum1" die Anf�hrungszeichen nicht notwendig
- "Mo" klappt das? %a heisst "locale's abbreviated weekday name
(e.g., Sun)" Ich h�tte " %u day of week (1..7); 1 is Monday"
genommen.
VR
Technical Details
Message-ID:
<47949651$0$3812$5402220f@news.sunrise.ch>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!news.belwue.de!kanaga.switch.ch!switch.ch!newsfeed-du-01.pub.2nd.sunrise.ch!not-for-mailReferences:
<12f59$47949026$c1f6c9f0$15559@news.cyberlink.ch> <3e33a$479491b3$c1f6c9f0$16800@news.cyberlink.ch>Show Full Headers
Complete Article Headers
X-Google-Thread: f4b73,82ddd9aeb5306c99 X-Google-Attributes: gidf4b73,public,usenet X-Google-Language: GERMAN,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.germany.com!news.belwue.de!kanaga.switch.ch!switch.ch!newsfeed-du-01.pub.2nd.sunrise.ch!not-for-mail Date: Mon, 21 Jan 2008 13:55:12 +0100 From: Visvanath Ratnaweera <spam@ratnaweera.net> User-Agent: Thunderbird 2.0.0.9 (X11/20071212) MIME-Version: 1.0 Newsgroups: ch.comp.os.linux Subject: Re: Bash Shell Frage -> if References: <12f59$47949026$c1f6c9f0$15559@news.cyberlink.ch> <3e33a$479491b3$c1f6c9f0$16800@news.cyberlink.ch> In-Reply-To: <3e33a$479491b3$c1f6c9f0$16800@news.cyberlink.ch> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Lines: 16 Message-ID: <47949651$0$3812$5402220f@news.sunrise.ch> Organization: Sunrise Communications AG, http://www.sunrise.ch NNTP-Posting-Host: 160.85.38.83 X-Trace: 1200920145 news.sunrise.ch 3812 160.85.38.83:5718 X-Complaints-To: abuse@sunrise.ch