#!/bin/sh a=$(/usr/local/bin/wl pkteng_stats | grep count | cut -d" " -f4) #echo $a sleep 1 b=$(/usr/local/bin/wl pkteng_stats | grep count | cut -d" " -f4) #echo $b c=$(($b-$a)) echo $c