lynx -cmd_log=log.lynx http://www.example.com lynx -cmd_script=log.lynx http://www.example.com
-cmd_log と -cmd_script を両方指定すると,
log で指定した方には, log の内容も追加されるようだ.
lynx -cmd_log=log.lynx http://www.example.com lynx -cmd_script=log.lynx http://www.example.com
-cmd_log と -cmd_script を両方指定すると,
log で指定した方には, log の内容も追加されるようだ.
Received ヘッダをみると, ecelerity というものらしいが, どんなサーバなんだろうか...
Received: from outmail***.prn*.facebook.com (HELO mx-out.facebook.com) (66.220.***.***) by **** with SMTP; ** *** 2013 **:03:53 +0900 Received: from [10.80.**.**] ([10.80.**.**:*****]) by smout***.**.prn*.facebook.com (envelope-from) (ecelerity 3.6.0.37104 r(/root/Platform:develop)) with ECSTREAM id **/**-*****-********; ***, ** *** 2013 **:28:51 -0700
proc get_bbox {name {offset 0}} {
set bbox [get_attribute ${name} bbox]
set x1 [lindex [lindex $bbox 0] 0]
set y1 [lindex [lindex $bbox 0] 1]
set x2 [lindex [lindex $bbox 1] 0]
set y2 [lindex [lindex $bbox 1] 1]
return [list [list [expr $x1-$offset] [expr $y1-$offset]] [list [expr $x2+$offset] [expr $y2+$offset]]]
}
上記の定義にて,
マクロの外枠を取得でき, offset を指定すれば, そのオフセット分だけ外に広げて return する.
マクロ周囲にブロッケージを生成する場合などに便利である.
使用例を示す.
icc_shell> get_bbox I0
{456.0 921.6} {1651.6 1645.2}
icc_shell> get_bbox I0 16
{440.0 905.6} {1667.6 1661.2}
alsamixer を実行し F6 を押すなどで調べることができる.
mpg123 -o alsa -a hw:1 ogg123 -d alsa -o dev:hw:1
$ curl -D - -o /dev/null -s http://example.iana.org/ HTTP/1.1 200 OK Accept-Ranges: bytes Content-Type: text/html; charset=UTF-8 Date: Thu, 18 Jul 2013 02:46:01 GMT ETag: "780602-4f6-4db31b2978ec0" Last-Modified: Thu, 25 Apr 2013 16:13:23 GMT Server: ECS (mia/1791) X-Cache: HIT Content-Length: 1270
initial begin
$dumpfile("myresult.vcd");
$dumpvars(0, tb);
end
myresult.vcd, tb はそれぞれ出力ファイル, トップ階層のモジュール名 (テスト環境のモジュール名) である.
なお, VCD のフォーマットは, プリンタブルな文字列で圧縮されているので, スクリプト処理には向かない.
何らかのスクリプト処理を行うならば, $print や, $monitor を使う方が良いだろう.
| 距離 | 時間 | 結果 |
|---|---|---|
| 54km | 1時間 | 不掲載 |
| 165km | ? | 掲載 |
| 370km | 2時間 | 掲載 |
icc_shell> remove_objects [get_net_shapes -filter {route_type=="P/G Strap"}]
icc_shell> remove_objects [get_vias -filter {route_type=="P/G Strap"}]
つまり, route_type が P/G Strap のネットとビアを削除する.
なお, 直前に引いたストラップだけを削除する場合は,
create_power_straps -undo