### Requirements: Organize a.txt by breaking lines at periods, that is, concatenate lines without periods with the next line, and break lines with periods at the period. Note: There may be several consecutive lines without periods, or multiple periods in one line. No need to consider special character issues. Of course, the premise is that you cannot concatenate all the content of a.txt into one variable. (Because the character limit of the variable is limited) See who has the most concise and efficient code, plus points..!
### Content of a.txt:
```
Batch processing files (Batch File, referred to as BAT files) are a most commonly used executable file under DOS. It has flexible operability and can adapt to various complex computer operations. The so-called batch processing means automatically executing several specified DOS commands or programs in a prescribed order.
That is to summarize the commands executed one by one, execute them in batches, and the program file can be ported to other computers for operation, so it can greatly save the tediousness of repeatedly entering commands. At the same time, batch processing files also have some programming characteristics. It can flexibly control the execution of the program through extended parameters, so it is very practical in daily work. Batch processing. bat. cmd. Each has its own limitations. Each has its own advantages.
```
### Required output format:
```
Batch processing files (Batch File, referred to as BAT files) are a most commonly used executable file under DOS.
It has flexible operability and can adapt to various complex computer operations.
The so-called batch processing means automatically executing several specified DOS commands or programs in a prescribed order.
That is to summarize the commands executed one by one and execute them in batches, and the program file can be ported to other computers for operation, so it can greatly save the tediousness of repeatedly entering commands.
At the same time, batch processing files also have some programming characteristics.
It can flexibly control the execution of the program through extended parameters, so it is very practical in daily work.
Batch processing.
bat.
cmd.
Each has its own limitations.
Each has its own advantages.
```
### Summary:
There are many answers, (2nd floor 14th floor 17th floor 19th floor)
The 2nd floor adopts the method of reading character by character, and can handle most special characters, but the efficiency is too low.
The 14th floor created a com file, which is extremely efficient. Unfortunately, I don't understand it, but I have gained knowledge. However, this question is still solved with pure p.
The ideas of the 17th floor and the 19th floor are the same, the code is slightly different, and the efficiency is also good, basically meeting the requirements of the building owner.
[ Last edited by 26933062 on 2008-7-13 at 10:55 PM ]
### Content of a.txt:
```
Batch processing files (Batch File, referred to as BAT files) are a most commonly used executable file under DOS. It has flexible operability and can adapt to various complex computer operations. The so-called batch processing means automatically executing several specified DOS commands or programs in a prescribed order.
That is to summarize the commands executed one by one, execute them in batches, and the program file can be ported to other computers for operation, so it can greatly save the tediousness of repeatedly entering commands. At the same time, batch processing files also have some programming characteristics. It can flexibly control the execution of the program through extended parameters, so it is very practical in daily work. Batch processing. bat. cmd. Each has its own limitations. Each has its own advantages.
```
### Required output format:
```
Batch processing files (Batch File, referred to as BAT files) are a most commonly used executable file under DOS.
It has flexible operability and can adapt to various complex computer operations.
The so-called batch processing means automatically executing several specified DOS commands or programs in a prescribed order.
That is to summarize the commands executed one by one and execute them in batches, and the program file can be ported to other computers for operation, so it can greatly save the tediousness of repeatedly entering commands.
At the same time, batch processing files also have some programming characteristics.
It can flexibly control the execution of the program through extended parameters, so it is very practical in daily work.
Batch processing.
bat.
cmd.
Each has its own limitations.
Each has its own advantages.
```
### Summary:
There are many answers, (2nd floor 14th floor 17th floor 19th floor)
The 2nd floor adopts the method of reading character by character, and can handle most special characters, but the efficiency is too low.
The 14th floor created a com file, which is extremely efficient. Unfortunately, I don't understand it, but I have gained knowledge. However, this question is still solved with pure p.
The ideas of the 17th floor and the 19th floor are the same, the code is slightly different, and the efficiency is also good, basically meeting the requirements of the building owner.
[ Last edited by 26933062 on 2008-7-13 at 10:55 PM ]
致精致简!

