- 论坛徽章:
- 0
|
文本内容:
83342543 {"aa.bb.cc":"nihewohetaDiscount$2","close.arrive":"true","stay.max":"2"}
83342544 {"aa.bb.cc":"nihewohetaExtended$2","close.arrive":"false","stay.max":"2"}
83342545 {"aa.bb.cc":"nihewohetaExtended$2","close.arrive":"true","stay.max":"2"}
83342546 {"aa.bb.cc":"nihewohetaBreakfast$2","close.arrive":"false","stay.max":"2"}
83342547 {"aa.bb.cc":"nihewohetaBreakfast$2","close.arrive":"true","stay.max":"2"}
83342548 {"aa.bb.cc":"nihewohetaFlexible$1","close.arrive":"false","stay.max":"1"}
83342549 {"aa.bb.cc":"nihewohetaAdvance$1","close.arrive":"false","stay.max":"1"}
83342550 {"aa.bb.cc":"nihewohetaDiscount$1","stay.max":"1","close.arrive":"false"}
83342551 {"aa.bb.cc":"nihewohetaExtended$1","close.arrive":"false","stay.max":"1"}
83342552 {"aa.bb.cc":"nihewohetaBreakfast$1","close.arrive":"false","stay.max":"1"}
空的地方是tab
需替换成,比如
83342552 {"aa.bb.cc":"nihewohetaBreakfast$1","close.arrive":"false","stay.max":"1"}
成
83342552 {"aa.bb.cc":"nihewohetaBreakfast$1","close.arrive":"false","stay.max":"1","stay.min":"1"}
规则: 1: stay.max后跟数字每行不确定,但一定是数字, 要求stay.min后面跟的和stay.max后面跟的一样
2: 另外,stay.max在综括号中的,顺序不固定,但一定在综括号中
求执行快的脚本,谢谢. 因为记录上千万级别
不知道还有没高人夜猫子 |
|