일정 미리 알림에 대한 스크립트를 작성했지만 시간을 설정하면이 프로그램을 표시 할 수 없습니다. 전반적인 스크립트가 좋다고 생각하지만 여전히 오류입니다. 제발 도와주세요, 제 스크립트에 뭐가 잘못 됐나요. 덕분에 . 나는 당신의 cek
가 결코 동일하다는 사실에서 오는 내 영어셸 bash 스크립트를 사용한 프로그램 일정 미리 알림
nama=$(zenity --entry --text="Enter your name:" --entry-text " ");
date=$(zenity --calendar --text "choose your event's day" --date-format=%A-%B-%Y);
tang=$(zenity --forms --date-format=`date | awk ‘{print $1 $3,$2,$6}’ `| time :`date | awk '{print $4}'`);
nambah=$(zenity --forms --ok-label="Done" --cancel-label="Cancel" --height=100 \
--title "Time" \
--text "Input Time(format 24)" \
--add-entry "Input Hours:Minutes:Second");
text=$(zenity --text-info --title "create event" --editable --font=Purisa);
a=1
while (a==1)
do
cek="`date | awk '{print $4}'`";
if [ "$nambah" == "$cek" ]
then
echo -n
d=`echo "Time: $nambah"`
fi
done
out=$(zenity --info --text "REMEMBER!! $nama today is $date you have event $d
$text ");
이고 오류는 무엇입니까? –