On Mon, May 22, 2000 at 01:10:35PM -0500, Andre Best wrote:
** Reply to note from Jan.Trippler@t-online.de (Jan Trippler) Sun, 21 May 2000 16:15:50 +0200
On Son, Mai 21, 2000 at 08:45:13 +0200, Norbert Raebiger wrote: [wvdial-Script]
declare -i n=1 echo -n "verbinde " while [ $n -lt 20 ] ; do n=$[n+1] if [ `ping -c 5 pop.myisp.de 2> /dev/null | grep -c "bytes from"` -gt 0 ] ; then > > break
und wie kann ich das Ergebnis von
ping -c 5 pop.myisp.de 2> /dev/null | grep -c "bytes from"
in eine Variable schreiben ? m= ping -c 5 pop.myisp.de 2> /dev/null | grep -c "bytes from" funktioniert nicht!?
..und wenn du m='ping -c 5 pop.myisp.de 2> /dev/null | grep -c \"bytes from\"' ..also in 'apostrophe packst und die "" entschärfst?? (\ => "Fluchtzeichen") Gruß, Clemens -- sig_11 Du möchtest die schrecklichen signatures von mir/uns nicht mehr sehen? Nagut, folgendes in die .procmailrc: :0 fBw * ^--$ | sed -e 's/^--$/-- /' ------------------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com