To Chang brother to write the filter dongdong.
is realized, but feels ugly, not normative.
Remember the next first.
Raw data format:
.- -- A the: -: +[pool-2-thread-1:232231791]-[DEBUG] Origin match Time: the: -: +, User:180783710, Orderid:zazwxnln, OrderQty:1100, Matchedqty: - .- -- A the: -: +[pool-2-thread-1:232231791]-[DEBUG] Origin match Time: the: -: -, User:180783710, Orderid:zazwxnln, OrderQty:1100, Matchedqty: - .- -- A the: -: +[pool-2-thread-1:232231791]-[DEBUG] Origin match Time: the: -: in, User:187961920, Orderid:hjzu28x1, OrderQty: $, Matchedqty: $ .- -- A the: -: +[pool-2-thread-1:232231791]-[DEBUG] Origin match Time: the: -: -, User:800076726, ORDERID:TJZU1ZVG, OrderQty:7500, Matchedqty:7500 .- -- A the: -: +[pool-2-thread-1:232231792]-[DEBUG] Origin match Time: the: -: $, User:184701119, Orderid:njzq6du7, OrderQty: -, Matchedqty: - .- -- A the: -: +[pool-2-thread-1:232231792]-[DEBUG] Origin match Time: the: -: -, User:800491056, Orderid:zszw6qst, OrderQty: -, Matchedqty: - .- -- A the: -: +[pool-2-thread-1:232231792]-[DEBUG] Origin match Time: the: -: -, User:181807819, OrderId:81065942, OrderQty:567100, Matchedqty:567100 .- -- A the: -: +[pool-2-thread-1:232231793]-[DEBUG] Origin match Time: the: -: -, User:187575665, OrderId:70356862, OrderQty:57773, Matchedqty:57773 .- -- A the: -: +[pool-2-thread-1:232231793]-[DEBUG] Origin match Time: the: -: -, User:180808385, orderid:za351478, OrderQty:1400, Matchedqty:1400 .- -- A the: -: +[pool-2-thread-1:232231793]-[DEBUG] Origin match Time: the: -: A, User:184844436, orderid:pd199184, OrderQty: +, Matchedqty: +
grep " Origin match time " Lll.log | awk ' [ :,] ' ' {printf ("%s:%s:%s%s%s%s\n", $16, $17, $18, $21, $24, $27,$30)} ' > XXX
An awk that was written for a colleague to write down