■ きっかけ
■ こんな感じで
■ スナップショット
| BSD(温度) | BSD(湿度) | Mac | WindowsXP |
| | | |
■ ソフトウェア
| WindowsXP(温度) | WindowsXP(湿度) | |
| |
■ 感想
![]() |
#! /bin/sh
file=/usr/local/www/data/B/crrntdata/cdata.txt
getdata=/usr/local/etc/program/ondo/tr72u
sleep 30
rm -f $file
$getdata | xargs | awk '{print "#1\n" "MachineCode=2\n" "Name=----\n" "Time=2004/01/07 17:49:30\n" "Unit=0\n" "cTemperature1=" $1"\n" "cHumidity=" $2"\n" "wState=0"}' > $file
|