On Wednesday 19 January 2005 09:49, Asfihani wrote: > Rio Martin. wrote: > > [EMAIL PROTECTED]:~/testscript# ./asfik > > ./asfik: line 4: : command not found > > ./asfik: line 5: : command not found > > ./asfik: line 4: : command not found > > ./asfik: line 5: : command not found > > ./asfik: line 4: : command not found > > ./asfik: line 5: : command not found > > ./asfik: line 4: : command not found > > ./asfik: line 5: : command not found > Saya coba disini, work as expected. > > Padahal kalau ditest secara manual sih sudah benar, > > ada yang kurang dimana yah ? > Coba diverbose dengan switch -x, misalnya : bash -x asfik nanti akan > terlihat dimana salahnya.
[EMAIL PROTECTED]:~/testscript# bash -x asfik + � grep -A1 3IPA1 fileabsensi asfik: line 4: �: command not found + � grep -A1 3IPA2 fileabsensi asfik: line 4: �: command not found + � grep -A1 3IPS1 fileabsensi asfik: line 4: �: command not found + � grep -A1 3IPS2 fileabsensi asfik: line 4: �: command not found [EMAIL PROTECTED]:~/testscript# grep -A1 3IPA1 fileabsensi Kelas 3IPA1 jumlah total siswa: 25 Total siswa hari ini: 22siswa [EMAIL PROTECTED]:~/testscript# Iya, anehnya kalau dicoba secara manual worked as expected .. Salah dimananya yah? - Rio.Martin - -- Unsubscribe: kirim email kosong ke [EMAIL PROTECTED] Arsip, FAQ, dan info milis di http://linux.or.id/milis.php Tidak bisa posting? Baca: http://linux.or.id/wiki/index.php?pagename=ProblemMilisDanSolusi http://linux.or.id/wiki/index.php?pagename=TataTertibMilis
