#!/bin/sh tail -1 log.txt | ( read date temp humi pres pdif rrdtool update daq.rrd N:$temp:$humi:$pres )