Arama butonu
Bu konudaki kullanıcılar: 1 misafir
58
Cevap
1605
Tıklama
0
Öne Çıkarma
Cevap: Shell ile sonuca göre belirli bir satırı aramak (3. sayfa)
G
13 yıl
Yüzbaşı

bash --version
GNU bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)
Copyright (C) 2004 Free Software Foundation, Inc.

Benim boyle. Ben bir sekilde kurtrarmisim. Sizde durum nedir simdi ? Calismiyor mu ? compat31 olayini ben de daha onceden okumustum. 3.2 icin ne yapmak lazim acaba ?

Bunu buldum ...

 
http://stackoverflow.com/questions/218156/bash-regex-with-quotes

Without compat31:

$ shopt -u compat31
$ shopt compat31
compat31 off
$ set -x
$ if [[ "9" =~ "[0-9]" ]]; then echo match; else echo no match; fi
+ [[ 9 =~ \[0-9] ]]
+ echo no match
no match

With compat31:

$ shopt -s compat31
+ shopt -s compat31
$ if [[ "9" =~ "[0-9]" ]]; then echo match; else echo no match; fi
+ [[ 9 =~ [0-9] ]]
+ echo match
match





< Bu mesaj bu kişi tarafından değiştirildi garui -- 20 Eylül 2012; 19:00:21 >

G
13 yıl
Yüzbaşı

Ne yazik ki bos. shopt compat ile ilgili birsey donmuyor "bash, version 3.00.16(1)-release (sparc-sun-solaris2.10)" icin
Sanirim 3.2 ve uzerinde geliyor bu ozellik.


Scriptin ikinci satirina

shopt -s compat31

eklenirse direk calisir gibi geliyor veya

if [[ $line =~ "^Status: " ]];then

yerine

if [[ $line =~ "^Status:\ " ]];then

seklinde calisabilir.





< Bu mesaj bu kişi tarafından değiştirildi garui -- 20 Eylül 2012; 19:21:50 >
Bu mesaja 1 cevap geldi.
G
13 yıl
Yüzbaşı

quote:

Orijinalden alıntı: beterman

Orada benim hatam var.
Status: O
standart mail yapisina ait degil. Copy & Paste kurbani oldu.
ilk versiyon iyi calisiyor hocam sanki...sadece simdi kelime sayisini artirmam gerekiyor. Yani scripti cagirirken verilen parametre sayisi artirilabilir.Böylelikle sadece 1 kelime degil (Error) birden fazla kelimede aranabilir. (failed,permissions,not found)


Anlamadigim bölüm surasi

if [[ $option == "--all" ]]
then
[[ $line =~ $if_regex ]] && echo "Line($counter): $line" && Got_it=0 && ever_found=1

Eger scripti cagirirken parametre olarak --all verirsek
okunan satir ($line) icinde regular expression (if_regex) mu kontrol ediyor?

[[ $line =~ $if_regex ]] && echo "Line($counter): $line" && Got_it=0 && ever_found=1

bu satir basinda bir if olmamasina ragmen karsilastirma söz konusumu?


Burayi atlamisim.
 
if [[ $option == "--all" ]]
then
[[ $line =~ $if_regex ]] && echo "Line($counter): $line" && Got_it=0 && ever_found=1
else
[[ $line =~ $if_regex ]] && last_found_line="Line($counter): $line" && Got_it=0
fi


Burada eger --all verirsek buldugu gibi ekrana basiyor sonucu. Eger all verilmez ise else'e gidiyoruz ve buldugunu last_found_line icine aktariyoruz. While dongusunden cikinca ekrana last_found_line degerini basiyoruz. Eger hicbir match eden satir bulamadiysak last_found_line ilk degeri "Not Found!" oldugundan ekrana "Not Found!" basiliyor.

Bir ekleme:
Linux üzerinde (Perl'de de var bildiğim kadarıyla ve diğer bir takım dillerde de olabilir) şöyle bir durum söz konusu && ve || için.

shell> ls && pwd && echo "a"

yazdığınızda ls sonucu doğruysa yani komut hata vermediyse pwd çalışır. Eğer pwd hata dönmezse echo "a" çalışır. Burada if chekini düşünün eğer if checkinin içine girilecekse ve ayraç && ise önce birinciye bakılır ilki, doğruysa ikinciye bakılır. Çünkü && için her girdinin doğru olması gerekir.

shell> ls || pwd || echo "a"

yazarsanız ls sonucu doğruysa gerisine bakılmaz. Çünkü || için herhangi bir durumun doğru olması yeterlidir. İlki çalışınca yoluna devam eder.

Perl örnegi,

#!/usr/bin/perl
my deger = 123 || 234;
printf("Sonuc: %d\n",$deger);

çıktısı

Sonuc: 123

şeklinde olacaktır.

#!/usr/bin/perl
my deger = 0 || 234;
printf("Sonuc: %d\n",$deger);

çıktısı

Sonuc: 234

şeklinde olacaktır. Bilmem anlatabildim mi ?





< Bu mesaj bu kişi tarafından değiştirildi garui -- 20 Eylül 2012; 21:48:00 >

G
13 yıl
Yüzbaşı

Power shell Isime bir kere lazim oldugundan tek calismam asagidaki.

 
foreach( $file in (Get-ChildItem -path . -name *.mkv)) {
$out = $file.replace('.mkv','.srt')
echo "`"D:\Programs\mkvtoolnix\mkvextract.exe`" --ui-language en tracks `"F:\New_Anime\Code Geass [720p,BluRay,x264]_-_gg-THORA\$file`" 2:`"F:\New_Anime\Code Geass [720p,BluRay,x264]_-_gg-THORA\$out`"" }


Bunun direct echo yerine exec yapani vardi ama notumu bulamiyorum.



T
13 yıl
Yüzbaşı

Sadece grep ile yapabileceğiniz basit işlem için bu kadar uğraşmanıza gerek yok arkadaşlar.

Aşağıdaki kodu dosya olarak kaydedip, executable yapın. Taranacak dosyayı data.txt olarak kaydedip, scripti bu dosya ile aynı dizinde "./script aranacak-kelime" şeklinde aranacak kelimeyi, scripte parametre olacak şekilde çalıştırın.

quote:


#!/bin/sh
ARANAN=$*
grep -e "$ARANAN" -e '$HOME' data.txt |grep -A1 "$ARANAN" | grep -v "$ARANAN"


Burada kritik olan "if"li satırı doğru olarak yakalayabilmek. O nedenle daha spesifik ve her if'li satırda olduğu görünen"$HOME" kelimesini arattım.





< Bu mesaj bu kişi tarafından değiştirildi terranigma -- 20 Eylül 2012; 19:51:36 >
Bu mesaja 1 cevap geldi.
G
13 yıl
Yüzbaşı

Benzerini yapmistim ilk mesajlarda.

> cat hop.txt | grep 'Error\|if \['
if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/1 ; fi
Error********************************************
if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/2 ; fi
if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/1 ; fi
if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/1 ; fi

Sonra is goze duzgun gorunen hata ayiklayan birsey yapalim derken boyle oldu :) Yukaridaki yazdigimiz scriptlerde her satir icin grep de kullanilabilir istenirse ama az pure bash olsun derken sonuc boyle :)

grep -e "$ARANAN" -e '$HOME' data.txt |grep -A1 "$ARANAN" | grep -v "$ARANAN" guzelmis bu arada. Yalniz ben solaris'de calistiramadim. -A1 i begenmedi.

Linux'da calistirdim.

bash-2.05a$ ARANAN=HatA
bash-2.05a$ grep -e "$ARANAN" -e '$HOME' list.txt |grep -A1 "$ARANAN" | grep -v "$ARANAN"
if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/4 ; fi
if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/3 ; fi
--
if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/8 ; fi
bash-2.05a$ ARANAN=Hata
bash-2.05a$ grep -e "$ARANAN" -e '$HOME' list.txt |grep -A1 "$ARANAN" | grep -v "$ARANAN"
if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/3 ; fi


Fakat data az daha komplike hal alinca karisabiliyor durum.





< Bu mesaj bu kişi tarafından değiştirildi garui -- 20 Eylül 2012; 20:17:50 >

G
13 yıl
Yüzbaşı

Güzel olmuş kod. Eline sağlık. Cron satırından sonra 3 satır aşağı if checkini sayman sanırım kalıp sürekli böyle geldiğinden. Tabi compile etme şansım olmadı ama bence Code Inspection'dan geçer

21.yy ama hala kullanılıyor Bash ne yapalım :) Bir de benim işler sürekli WRS üzerinde genelde C,C++ ve Bash. Perl bile pek kullanma fırsatım olmuyor. Arada Perl Frameworklerine yardım istenirse kod giriyorum. Yeri gelse de Ruby ve Phyton kulanılsa güzel olurdu. Ama sistem böyle :) Java sadece GUI trafında mevcut. Keşke OpenCL C++11 kullanılcak yeni piyasalar keşfedebilsem





< Bu mesaj bu kişi tarafından değiştirildi garui -- 20 Eylül 2012; 23:17:19 >

G
13 yıl
Yüzbaşı

@seyfi84 Kastettiğini anlayabiliyorum.



G
13 yıl
Yüzbaşı

WRS(Wind River Systems) Wind River Linux diyebiliriz.
http://www.windriver.com/products/linux-secure/
http://en.wikipedia.org/wiki/Wind_River_Systems

OpenCL kullanmiyorum iste. Kullanicak yerim yok. Keske o yonlere kayabilcek firsatlar yakalasam diyorum



G
13 yıl
Yüzbaşı

WRS'in pazar durumu ile pek ilgilenmedim ondan su an ne durumdadir bilemiyorum. Uzerinde saglanan rpm paketlerini kullanmaca yapmaktayim. Paketlerdeki degisiklerde hoppa kodu duzelt adaptasyon sagla feature aktivite ekle producta seklinde.


Bu mesaja 1 cevap geldi.
B
13 yıl
Teğmen
Konu Sahibi

arkadaslar bu harika kod icin tesekkürler. sayenizde bash script hakkinda temel bir bilgi sahibi oldum ve birseyler ögrendim
Benim yapmak istedigim bu kodu crontab ile hergün 1 kez arkaplanda calistirip, aranilan kelimeleri iceren mailleri kontrol edip buna ait if satirlarini bir dosyaya yazmak...Crontab'a eklemek ve sonucu dosya icine yazma isini hallettim lakin bu harika script simdilik sadece elle calisip parametre bekliyor. Ben ise bu scripti crontab ile otomatik cagiracagim icin parametre vermeden script icinde aranan kelimeleri belirlemek istiyorum.
Yani script simdiye kadar yaptigi görevi bizden parametre beklemeden yapmali
aranacak kelimeler

Error
permission
not found (iki kelime)
refused
failed
can not open (üc kelime)


ilerleye zamanlarda yeni kelimelerde gelebilir.Simdilik bu aranacak kelimeleri script icine nasil ekleyebilirimki script simdiye kadar oldugu gibi bizden parametre olarak aldigi tek bir kelimeyi degilde tüm bu kelimeler icin bir arama yapsin ve sonucu ayni sekilde göstersin. (Sonuc satirina aranan kelimeyide gösterirsem harika olur)

Hatirlatma olarak en son calisan ve benimde azda olsa degistirdigim kodumuz su sekilde


 
program=`basename $0`
option=$1
file=$2
text=$3
Got_it=0
last_found_line="Nothing Found!"
ever_found=0
counter=0 ##Count of Lines
in_body=0

## Target File to write
tempTargetFile=~/tmp/ElmErrorMessageOutput.txt

## cleanup
## $tempTargetFile

if_regex="^.*if.*fi.*$"
text_regex="$text"
text_regex1="permission"
out_regex="^Cron:"
in_regex="^Status:"
from_regex="^From:"

if [[ $# -ne 3 ]] || ([[ $option != "--all" ]] && [[ $option != "--last" ]])
then
echo "Usage : $program [--all|--last] \$file_name \"\$text_to_match\""
echo "\"\$text_to_match\" : is a regular expression check."
echo " Ex: 'rror\*' 'Error.*[0-9]+'"

echo "Example : $program --all example.txt \"Error Abo\" "
echo "Example : $program --last example.txt 'Error Abo\*'"
exit
fi

if [[ ! -f $file ]]
then
echo "Error : Could not find the file to open"
exit
fi

while read line; do
counter=$((counter+1))

if [[ $line =~ $in_regex ]];then
in_body=1
continue
elif [[ $line =~ $out_regex ]];then
in_body=0
continue
elif [[ $line =~ $from_regex ]];then #Normally begining but also the end for finding the cron command.
in_body=0
if [[ Got_it -eq 1 ]]; then
echo "Error : Line($counter) : Reached end of mail but could not find cron command"
Got_it=0
fi
continue
elif [[ $line =~ $text_regex ]] && [[ $in_body -eq 1 ]];then
Got_it=1
continue
fi

if [[ $Got_it -eq 1 ]]; then
if [[ $option == "--all" ]]
then
[[ $line =~ $if_regex ]] && echo "Line($counter): $text_regex $line" && Got_it=0 && ever_found=1
## [[ $line =~ $if_regex ]] && echo "Line($counter): $text_regex $line">>$tempTargetFile && Got_it=0 && ever_found=1
else
[[ $line =~ $if_regex ]] && last_found_line="Line($counter): $line" && Got_it=0
fi
fi

done < $file

## count_message=$(cat $tempTargetFile | wc -l)

echo "count of Message in File: $count_message">>$tempTargetFile

if [[ $Got_it -eq 1 ]]; then
echo "Error : Line($counter) : Reached end of $file but could not find cron command for the last mail."
fi


if [[ $option == "--last" ]] || [[ $ever_found -eq 0 ]]
then
echo "$last_found_line"
fi







< Bu mesaj bu kişi tarafından değiştirildi beterman -- 21 Eylül 2012; 12:46:56 >
Bu mesaja 1 cevap geldi.
G
13 yıl
Yüzbaşı

Daha onceki mesajimda soylemistim. direk iki kelime veya fazlasini verebiliyorsun zaten.

 
./finder.sh --all hop.txt 'Error|permission|not\ found|refused|failed|can\ not\ open'
Matched Words(11) : "not found"
Cron(17): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/4 ; fi
Error : Line(40) : Reached end of mail but could not find cron command
Matched Words(46) : "Error" "refused"
Cron(52): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/3 ; fi
Matched Words(65) : "failed"
Cron(74): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/2 ; fi
Matched Words(87) : "can not open"
Cron(101): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/8 ; fi


Bu versiyon son matched istegin icin az modifiye edildi bu arada.





< Bu mesaj bu kişi tarafından değiştirildi garui -- 21 Eylül 2012; 13:40:12 >
Bu mesaja 1 cevap geldi.
B
13 yıl
Teğmen
Konu Sahibi

Matched Words()

seklinde olan versiyonu posten yapmadin herhalde.Benim görebildigim en son versiyonda bu yok cünkü


Bu mesaja 1 cevap geldi.
G
13 yıl
Yüzbaşı

quote:

Orijinalden alıntı: seyfi84

@garui, yazilim geçmişini bilmiyorum ama C++, Java gibi araçlara dönme niyetindeysen rpm ayıklama, shell scriptleme gibi anti-sw.developer pratiklerini terk etmeni tavsiye ederim. ne kadar uzun orada kalırsan çıkması o kadar zor oluyor, tecrübeyle sabittir. Derhal Vİsual Studio 2012 kurup MSDN okumaya başla derim.

Evet dusunmeye baslasam iyi olabilir. Iste onun icinde yeni bir sektore atilmak gerekiyor. Tesekkur ederim.



G
13 yıl
Yüzbaşı

quote:

Orijinalden alıntı: beterman

Matched Words()

seklinde olan versiyonu posten yapmadin herhalde.Benim görebildigim en son versiyonda bu yok cünkü

Sadece --all icin ekleme yaptim. Sen de geri kalanini kullanacaksan buna gore benzetebilirsin diye dusunuyorum.

./finder.sh --all hop.txt 'Error|permission|not\ found|refused|failed|can\ not\ open'

 
#!/usr/local/bin/bash

program=`basename $0`
option=$1
file=$2
text=$3
Got_it=0
last_found_line="Nothing Found!"
ever_found=0
counter=0
match_counter=0
in_body=0

if_regex="^.*if.*fi.*$"
text_regex="$text"
out_regex="^Cron:"
in_regex="^Status:"
from_regex="^From:"
matched_words=( )

if [[ $# -ne 3 ]] || ([[ $option != "--all" ]] && [[ $option != "--last" ]])
then
echo "Usage : $program [--all|--last] \$file_name \"\$text_to_match\""
echo "\"\$text_to_match\" : is a regular expression check."
echo " Ex: 'rror\*' 'Error.*[0-9]+'"
echo "Example : $program --all hop.txt \"Error Abo\" "
echo "Example : $program --last hop.txt 'Error Abo\*'"
exit
fi

if [[ ! -f $file ]]
then
echo "Error : Could not find the file to open"
exit
fi

while read line; do
counter=$((counter+1))

if [[ $line =~ $in_regex ]];then
in_body=1
continue
elif [[ $line =~ $out_regex ]];then
in_body=0
continue
elif [[ $line =~ $from_regex ]];then #Normally begining but also the end for finding the cron command.
in_body=0
if [[ Got_it -eq 1 ]]; then
echo "Error : Line($counter) : Reached end of mail but could not find cron command"
Got_it=0
fi
continue
elif [[ $line =~ $text_regex ]] && [[ $in_body -eq 1 ]];then
Got_it=1
match_counter=$counter
matched_words=( "${matched_words[@]}" "\"${BASH_REMATCH[@]}\"" )
continue
fi

if [[ $Got_it -eq 1 ]]; then
if [[ $option == "--all" ]]
then
[[ $line =~ $if_regex ]] && echo "Matched Words($match_counter) : ${matched_words[@]}" && echo "Cron($counter): $line" && Got_it=0 && ever_found=1
&& matched_words=( )
else
[[ $line =~ $if_regex ]] && last_found_line="Line($counter): $line" && Got_it=0
fi
fi

done < $file


if [[ $Got_it -eq 1 ]]; then
echo "Error : Line($counter) : Reached end of $file but could not find cron command for the last mail."
fi


if [[ $option == "--last" ]] || [[ $ever_found -eq 0 ]]
then
echo "$last_found_line"
fi


Uzerinde islem yaptigim ornek dosya.

 
From xxxxxxxxxxx
Received: yyyyyyyyyyyyyyyyyy
Date: Wed, 12 Sep 2012 01:32:57 +0200 (METDST)
From: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Message-Id: ooooooooooooooooooooooooooooooooooooooooo
Subject: blabla
Status: O

*************************************************
*************************************************
****************not found****************************
*************************************************
*************************************************
Cron: The previous message is the standard output
and standard error of one of your crontab commands:

if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/4 ; fi

From xxxxxxxxxxx
Received: yyyyyyyyyyyyyyyyyy
Date: Wed, 12 Sep 2012 01:32:57 +0200 (METDST)
From: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Message-Id: ooooooooooooooooooooooooooooooooooooooooo
Subject: blabla
Status: O

*************************************************
********************************************
*************************************************
*********Error***********************************
*************************************************
Cron: The previous message is the standard output
and standard error of one of your crontab commands:
******* HatkE***********************************


From xxxxxxxxxxx
Received: yyyyyyyyyyyyyyyyyy
Date: Wed, 12 Sep 2012 01:32:57 +0200 (METDST)
From: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Message-Id: ooooooooooooooooooooooooooooooooooooooooo
Subject: blabla
Status: O

*************************************************
**************refused****************************
************************************************
Cron: The previous message is the standard output
and standard error of one of your crontab commands:
******* HatkE***********************************

if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/3 ; fi

From xxxxxxxxxxx
Received: yyyyyyyyyyyyyyyyyy
Date: Wed, 12 Sep 2012 01:32:57 +0200 (METDST)
From: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Message-Id: ooooooooooooooooooooooooooooooooooooooooo
Subject: blabla
Status: O

*************************************************
*************************************************
*************************************************
**************failed******************************
*************************************************
*************************************************
*************************************************
*************************************************
*************************************************
Cron: The previous message is the standard output
and standard error of one of your crontab commands:

if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/2 ; fi

From xxxxxxxxxxx
Received: yyyyyyyyyyyyyyyyyy
Date: Wed, 12 Sep 2012 01:32:57 +0200 (METDST)
From: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
Message-Id: ooooooooooooooooooooooooooooooooooooooooo
Subject: blabla
Status: O

*************************************************
*************************************************
*************************************************
**can not open***********************************
*************************************************
*************************************************
*********HatkE***********************************
*************************************************
*************************************************
Cron: The previous message is the standard output
and standard error of one of your crontab commands:






if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/8 ; fi


Mail hata check icin,

echo "Error : Line($counter) : Reached end of mail but could not find cron command"
satirinin ustune,

echo "Matched Words($match_counter) : ${matched_words[@]}"
matched_words=( )

ekleyebilirsin. Bu durum da cikti,

 
/finder.sh --all hop.txt 'Error|permission|not\ found|refused|failed|can\ not\ open'
Matched Words(11) : "not found"
Cron(17): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/4 ; fi
Matched Words(30) : "Error"
Error : Line(40) : Reached end of mail but could not find cron command
Matched Words(46) : "refused"
Cron(52): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/3 ; fi
Matched Words(65) : "failed"
Cron(74): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/2 ; fi
Matched Words(87) : "can not open"
Cron(101): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/8 ; fi


seklinde olucak.





< Bu mesaj bu kişi tarafından değiştirildi garui -- 21 Eylül 2012; 14:34:05 >
Bu mesaja 1 cevap geldi.
B
13 yıl
Teğmen
Konu Sahibi

son haliyle su sekilde

./script.sh --all /var/mail/tdst.txt 'Error|permission|not\ found|refused|failed|can\ not\ open'


calistirdigimda sadece

 
Matched Words(29885) : "Error" "failed"
Cron(29892): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/GFXload tdpro_only ; fi
Matched Words(29973) : "Error" "failed"
Cron(29980): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/GFXload tdpro-tps ; fi
Matched Words(29999) : "Error" "failed"
Cron(30006): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/GFXload tdflash_and_tdpro ; fi
Matched Words(30087) : "Error" "failed"
Cron(30094): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/GFXload tdflashx-txs ; fi
Matched Words(30113) : "Error" "failed"
Cron(30120): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/GFXload tdflashxpro-txps ; fi
Matched Words(30169) : "Error" "failed"
Cron(30176): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/GFXload tdnosales-ns ; fi
Matched Words(30195) : "Error" "failed"
Cron(30202): if [ -f $HOME/slab.ini ]; then $HOME/slab.ini $HOME/scripts/CronJobs/GFXload tdall-tfa ; fi


Error ve failed hatalarini gösterdi. Oysaki txt icerisinde permission hatalarininda oldugundan eminim. Onu neden göstermedi?


Bu mesaja 1 cevap geldi.
G
13 yıl
Yüzbaşı

Inceledigin dosyayi ve scripti dropbox gibi bir yere koyabilir misin ? bir de sadece --all kullanacaksan --last opsiyonu silinebilir. Ben ilk anladigim oyle birsey istiyorsun sanmistim. Sonra hepsini duyunca all ekledim.





< Bu mesaj bu kişi tarafından değiştirildi garui -- 21 Eylül 2012; 15:06:54 >
Bu mesaja 1 cevap geldi.
G
13 yıl
Yüzbaşı

B
13 yıl
Teğmen
Konu Sahibi

simdilik fena görünmüyor.birkac ufak degisiklik yaptim.aranan her bir kelime icin parametre sayisini artirdim.



DH Mobil uygulaması ile devam edin. Mobil tarayıcınız ile mümkün olanların yanı sıra, birçok yeni ve faydalı özelliğe erişin. Gizle ve güncelleme çıkana kadar tekrar gösterme.