[linux-baslangic] Re: kisaca shell for dongusu

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Serdar KÖYLÜ (serdarkoylu@fisek.com.tr)
Date: Tue 31 Aug 2004 - 16:33:23 EEST


Selamlar..

Bu, bash for icin pek uygun bir kullanim degil. Yanlista degil ama..

for i in value1 value2 value3 do
    process $i
done

formati daha kullanisli olacaktir.

Bu arada,

-------------
#!/bin/bash
LIMIT=5
for ((a = 1; a < 5; a++))
  do
    echo $a
  done
--------------

Kodu bende sorun cikarmiyor. sh dosyasini bir eklerseniz, bir
bakabiliriz..

Saygi ve sevgiler..

> d2.sh
> -----
> LIMIT=10
>
> for ((a=1; a <= LIMIT ; a++)) # Double parentheses, and "LIMIT"
> with no
> "$".
> do
> echo -n "$a "
> done
> ------
>
> $ ./d2.sh
> ./d2.sh: line 3: syntax error near unexpected token `(('
> ./d2.sh: line 3: `for ((a=1; a <= LIMIT ; a++)) # Double
> parentheses, and
> "LIMIT" with no "$".'
>
>
> Hata veriyor niye acaba???
>
>
>
>
> Ayhan BARIŞ
> OYAK TURİZM
> Bilgi Sistemleri Uzmanı=09
>
> -----Original Message-----
> From: linux-baslangic-bounce@liste.linux.org.tr
> [mailto:linux-baslangic-bounce@liste.linux.org.tr] On Behalf Of A. Murat
> Eren
> Sent: Tuesday, August 31, 2004 2:49 PM
> To: linux-baslangic@liste.linux.org.tr
> Subject: [linux-baslangic] Re: kisaca shell for dongusu
>
> On Tuesday 31 August 2004 14:34, Ayhan BARIS wrote:
> > kisaca shell for dongusu kullanimini anlatabilirmisini?
>
> http://www.tldp.org/LDP/abs/html/
>
> adresine bakin. Daha sonra da bakmaniz gerekebilir.. 10. bolum de
> loop'lar
> ile ilgili.
> --
>
>
> - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
> A. Murat Eren
> meren@uludag.org.tr, meren@comu.edu.tr
> http://cekirdek.uludag.org.tr/~meren/
> 0x88FD9FC7,
> 910A FCB3 2AAB 4CA5 E4D9 EFFA 6555 A33A 88FD 9FC7
> - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -
>
> --
> free software is a matter of liberty,
> not price. to understand the concept,
> you should think of "free speech",
> not "free beer".
> -
> ---
> linux-baslangic listesinden cikmak ve tum listeci islemleri icin
> http://liste.linux.org.tr/ adresini kullanabilirisniz.
> Bu listeden cikmak icin
> <a
> href="mailto:linux-baslangic-request@liste.linux.org.tr?Subject=unsub
> scribe"
> > tiklayiniz</a>
>
>
>
> ---
> linux-baslangic listesinden cikmak ve tum listeci islemleri icin
> http://liste.linux.org.tr/ adresini kullanabilirisniz.
> Bu listeden cikmak icin
> <a href="mailto:linux-baslangic-request@liste.linux.org.tr?Subject=unsubscribe"> tiklayiniz</a>
>
>

---
linux-baslangic listesinden cikmak  ve tum listeci islemleri icin
http://liste.linux.org.tr/   adresini kullanabilirisniz.
Bu listeden cikmak icin
<a href="mailto:linux-baslangic-request@liste.linux.org.tr?Subject=unsubscribe"> tiklayiniz</a>


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.