View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#1051
Originally Posted by dr_frost_dk View Post
That works if i use exit code.....But im having a hard time to get it to work since im using AWK, heres a line from the script, where would i put the 'exit 1' code?

echo $x | awk '{if ($1 > 3900 && $1 <= 4050) printf "%1.3fV - %3.1f", $1 / 1000, 70 + ($1 - 3900) / 10}'

i have tried many different ways but cant seem to get it to use exit code......
You have solved ... I guess?!
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras