> 2010/06/22 (火) 00:11:27 ◆ ▼ ◇ [qwerty]> > 自分で作ったよ(;´Д`)
> > #!/bin/sh
> > today=`date "+%Y%m%d"`
> > today=`expr $today - 1 `
> > URL="http://qwerty.on.arena.ne.jp/cgi-bin/bbs.cgi?m=g&e=${today}.dat";
> > wget -q --tries=2 --timeout=100 $URL -O ${today}.dat
> > nkf -w -Lu --overwrite ${today}.dat
> 意味が分からないから翻訳に突っ込んでみたけど余計分からん(;´Д`)
> 今日=`日付"+の%のY%mの%d個"`
> 今日=`exprが$今日 - 1`
> URLを="http://qwerty.on.arena.ne.jp/cgi-bin/bbs.cgi?m=g&e = $(今日)の。dat";
> のwget - qは - = 2と - タイムアウト= 100 $のURL - Oを$(今日)の。datを
> nkfには- w - Luは - を$(今日)上書きされます。datのを
久しぶりにゲラゲラわらった(;´Д`)
参考:2010/06/22(火)00時09分53秒