bravoの日記: ちょい技
日記 by
bravo
署名の/.応用変。
まあ動かしてみてくれ。
w3mがあれば大丈夫かな。あとは「基本セットw」
#!/bin/sh
list='w3m -dump http://srad.jp/search.pl?threshold=0'
while true
# sedの引数`47'は表示する行数 - 9。
# sleepはインターバル秒数。
do
clear
$list | sed -n '9,47p' | cut -b 18-
sleep 300
done
まあ動かしてみてくれ。
w3mがあれば大丈夫かな。あとは「基本セットw」
#!/bin/sh
list='w3m -dump http://srad.jp/search.pl?threshold=0'
while true
# sedの引数`47'は表示する行数 - 9。
# sleepはインターバル秒数。
do
clear
$list | sed -n '9,47p' | cut -b 18-
sleep 300
done