|  | 
 
| roubye 初级用户
 
   
 
 
 
 积分 25
 发帖 16
 注册 2010-12-1
 来自 United States
 状态 离线
 | 
| 『楼 主』:
 BAT如何随机分行操作文本里的字符串
 
使用 LLM 解释/回答一下 
 
 
-------------------------------1.test
 are
 yes
 god!
 no
 pre
 love/
 ***
 123
 
 -------------------------------
 2.text
 want
 go
 do
 is
 
 示例3.text
 arewantyesgod!noprelove/***123
 areyeswantgod!noprelove/***123
 areyesgod!wantnoprelove/***123
 areyesgod!nowantprelove/***123
 areyesgod!noprewantlove/***123
 areyesgod!noprelove/want***123
 areyesgod!noprelove/***want123
 areyesgod!noprelove/***123want
 areyeswantgod!noprelove/***123
 arewantyesgod!noprelove/***123
 arewantgod!yesnoprelove/***123
 arewantgod!noyesprelove/***123
 arewantgod!nopreyeslove/***123
 arewantgod!noprelove/yes***123
 arewantgod!noprelove/***yes123
 arewantgod!noprelove/***123yes
 ....
 
 把1.text里的每一行字符串随机组合,同时顺序和2.text的每一行组成新的一行写入3.text,3.text里的每一行不能重复
 
 (请注意)
 2.text有可能上万行
 1.text有可能上万行
 
-------------------------------1.test
 are
 yes
 god!
 no
 pre
 love/
 ***
 123
 
 -------------------------------
 2.text
 want
 go
 do
 is
 
 Example 3.text
 arewantyesgod!noprelove/***123
 areyeswantgod!noprelove/***123
 areyesgod!wantnoprelove/***123
 areyesgod!nowantprelove/***123
 areyesgod!noprewantlove/***123
 areyesgod!noprelove/want***123
 areyesgod!noprelove/***want123
 areyesgod!noprelove/***123want
 areyeswantgod!noprelove/***123
 arewantyesgod!noprelove/***123
 arewantgod!yesnoprelove/***123
 arewantgod!noyesprelove/***123
 arewantgod!nopreyeslove/***123
 arewantgod!noprelove/yes***123
 arewantgod!noprelove/***yes123
 arewantgod!noprelove/***123yes
 ....
 
 Randomly combine each line string in 1.text, and at the same time combine with each line of 2.text to form a new line and write to 3.text. Each line in 3.text cannot be repeated
 
 (Please note)
 2.text may have tens of thousands of lines
 1.text may have tens of thousands of lines
 
 
 
 |  | 
|  2010-12-9 10:51 |  | 
|  | 
 
| Hanyeguxing 银牌会员
 
      正在学习中的菜鸟...
 
 
 积分 1039
 发帖 897
 注册 2009-3-1
 来自 在地狱中仰望天堂
 状态 离线
 |  | 
|  2010-12-13 17:01 |  | 
|  | 
 
| roubye 初级用户
 
   
 
 
 
 积分 25
 发帖 16
 注册 2010-12-1
 来自 United States
 状态 离线
 |  | 
|  2010-12-23 15:52 |  | 
|  | 
 
| roubye 初级用户
 
   
 
 
 
 积分 25
 发帖 16
 注册 2010-12-1
 来自 United States
 状态 离线
 |  | 
|  2010-12-23 15:56 |  | 
|  | 
 
| roubye 初级用户
 
   
 
 
 
 积分 25
 发帖 16
 注册 2010-12-1
 来自 United States
 状态 离线
 | 
| 『第 5 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
支持一下,各位朋友互相帮个忙,谢谢 
Support, friends, help each other, thank you 
 
 
 |  | 
|  2010-12-24 12:14 |  | 
|  | 
 
| DOSforever 金牌会员
 
       
 
 
 
 积分 4639
 发帖 2239
 注册 2005-1-30
 状态 离线
 |  | 
|  2010-12-24 20:21 |  | 
|  | 
 
| acaigg 初级用户
 
   
 
 
 
 积分 115
 发帖 92
 注册 2010-12-24
 状态 离线
 |  | 
|  2010-12-25 11:49 |  | 
|  | 
 
| roubye 初级用户
 
   
 
 
 
 积分 25
 发帖 16
 注册 2010-12-1
 来自 United States
 状态 离线
 | 
| 『第 8 楼』:
 
 
使用 LLM 解释/回答一下 
 
 
一、“把1.text里的每一行字符串随机组合”,组合几个?也是随机几个?1.text 比如m行的话,随机组合m个
 二、2.text所组合的那一行的字符串
 2.text 有n行,按顺序提取每一行 循环和1.text随机之后的每一行新行按顺序组合生成2.text
 n肯定是远远小于m的
 
I. "Randomly combine each line of strings in 1.text", how many to combine? Also randomly how many?If 1.text has m lines, randomly combine m lines
 II. The line of strings combined in 2.text
 2.text has n lines, extract each line in order, cycle and combine with each new line after random in 1.text in order to generate 2.text
 n must be much smaller than m
 
 
 
 |  | 
|  2011-1-3 14:52 |  | 
|  | 
 
| Hanyeguxing 银牌会员
 
      正在学习中的菜鸟...
 
 
 积分 1039
 发帖 897
 注册 2009-3-1
 来自 在地狱中仰望天堂
 状态 离线
 |  | 
|  2011-1-3 17:31 |  |