[Linux-programlama] Re: while dongusu ile girilen karakteri kontrol etmek

---------

[Linux-programlama] Re: while dongusu ile girilen karakteri kontrol etmek

From: Devrim GÜNDÜZ <devrim_at_gunduz.org>
Date: Thu, 3 Jan 2008 14:22:50 -0800 (PST)
Message-ID: <Pine.LNX.4.64.0801031420590.5401@community1.commandprompt.com>

Merhaba,

On Fri, 4 Jan 2008, yaşar tunçez wrote:

> e kısmı çalışıyor, ama h tuşuna bastığımda yine sadece e ve h ile
> cevap veriniz satırı çıkıyor.

=========================================
#!/bin/bash
echo -n "..... yaptiniz mi?"
read cevap
while [ $cevap != "e" ] && [ $cevap != "h" ]
do
echo "sadece e ve h ile cevap veriniz"
read cevap
done
========================================

--
Devrim GÜNDÜZ
RHCE		       _
ASCII ribbon campaign ( )     devrim~gunduz.org
against HTML e-mail    X      devrim~PostgreSQL.org
 		      / \     devrim.gunduz~linux.org.tr
             http://www.gunduz.org
_______________________________________________
Linux-programlama mailing list
Linux-programlama_at_liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama
Received on Thu 03 Jan 2008 - 23:51:21 EET

---------

Bu arsiv hypermail 2.2.0 tarafindan uretilmistir.