[Linux-programlama] bash shell programlama

---------

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

From: Erdem Bal (erdembal19@yahoo.com)
Date: Sat 05 Mar 2005 - 23:46:21 EET


Merhabalar
Direk Konuya gireceğim bir shell script yazmaya
çalışıyorum fakat bir yerde anlamadığım bir hata
veriyor. Çözümünü sizden bekliyorum işte script

-------------------------------------------------

#!/bin/sh
if [ $# -eq 0 ] ;then
    echo "Programı $0 dosya şeklinde kullanın"
    echo "Lütfen bir dosya girin"
else
    rm -rf $1
    echo " $1 dosyası $0 programıyla silindi"
fi
echo " Başka dosya var mı e/h"
    read cevap
if [ $cevap -eq e ] ;then
    a= `echo "lütfen dosyanızı girin"`
    rm -rf $a
    exit 1
fi

---------------------------------------------

Ayrıca İnternette örnek kod bulabileceğim veya
yaralanabileceğim bir adres varsa sölerseniz sevinirim
Şimdiden teşekkürler...

        
                
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/

_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama


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

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.