echo "指定された引数は$#個です。" 1>&2
echo "実行するには1個の引数が必要です。" 1>&2
exit 1
fi
http://shellscript.sunone.me/parameter.html
【Linux Shell Scriptの最新記事】
{assign var="idx" value={$begin} }
<table border = 1>
<tr><td>No.</td><td >商品名</td><td>売上</td></tr>
{foreach item=item from=$list}
<tr>
<td align='right{$idx}</td>
<td>{$item.name}</td>
<td align='right{$item.income|number_format}</td>
</tr>
{math equation="val = val + 1" val=$idx assign=idx}
{/foreach}
</table>
error_log(
"<html><h2><font color=red>debug:error_logテストテスト</font></h2></html>",
1,
"to@mail.address",
"Subject: TEST\nFrom: mazdaerr\nContent-Type: text/html; charset=EUC-JP");
| 日 | 月 | 火 | 水 | 木 | 金 | 土 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 |