- 论坛徽章:
- 32
|
本帖最后由 yestreenstars 于 2014-02-25 16:52 编辑
- $ awk '{a[gensub(/.*\st="([0-9]+)".*/,"\\1",1)]=$0}END{for(i=0;i++<asort(a);)print a[i]}' i
- <httpSample t="332" lt="332" ts="1393225455257" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-34" dt="text" by="252"/>
- <httpSample t="354" lt="354" ts="1393225455324" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-135" dt="text" by="252"/>
- <httpSample t="452" lt="452" ts="1393225455295" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-105" dt="text" by="252"/>
- <httpSample t="511" lt="511" ts="1393225455271" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-29" dt="text" by="252"/>
- <httpSample t="515" lt="515" ts="1393225455269" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-82" dt="text" by="252"/>
- <httpSample t="568" lt="568" ts="1393225455269" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-83" dt="text" by="252"/>
- <httpSample t="586" lt="586" ts="1393225455257" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-44" dt="text" by="252"/>
- <httpSample t="667" lt="667" ts="1393225455252" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-55" dt="text" by="252"/>
- <httpSample t="861" lt="860" ts="1393225455257" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-46" dt="text" by="10421"/>
- <httpSample t="895" lt="893" ts="1393225455254" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-60" dt="text" by="10643"/>
- <httpSample t="896" lt="894" ts="1393225455264" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-72" dt="text" by="10378"/>
- <httpSample t="937" lt="937" ts="1393225455267" s="true" lb="10" rc="200" rm="OK" tn="/hotel 1-31" dt="text" by="12981"/>
复制代码 |
|