如何檢視刪除了多少行
要點
- 貼上
- 整理
- 檢視字數
When removing duplicates, it matters to check how many lines disappeared. If more or fewer than expected were removed, it is a sign to review the settings. Remove Duplicate Lines and Sort a List shows three line counts.
步驟
- Paste the list into "Before tidying (one per line)".
- Choose how to tidy (remove duplicates, remove empty lines, remove spaces).
- In the result area, check these three numbers.
- "Original line count"
- "Line count after"
- "Lines removed"
- When satisfied with the numbers, copy with "Copy result".
"Lines removed" is "Original line count" minus "Line count after".
Reading the numbers
- Lines removed is 0: there were no duplicates or empty lines, or the options are off.
- Fewer than expected: spaces or case differences mean lines are not judged duplicates.
- More than expected: "Remove empty lines" removed many empty lines at once, or there were many identical lines.
如何確認
- See whether the number removed is as expected.
- If it differs, change the options one at a time and watch how the number changes.
- Check "After tidying" by eye.
Counting empty lines and duplicates separately
To know which removed them, first remove only the empty lines and look at the number. Then remove duplicates and look at the number again.
適合
- Keeping a record of tidying a roster or list
- Reporting how many duplicates there were
- Suspecting unexpected duplicates
示例
For a 200-line list, 3 lines were removed. Having expected about 10, adding the option to remove spaces made it 12.
Common stumbling blocks
- How lines are counted: an empty line after the final line break may be counted.
- Line count changes on pasting: check the format of the source.
Frequently asked questions
Can I see the content of the removed lines?
This tool shows only the counts. To check content, review the "before" field.
小結
Check the result with the three line counts. If it differs from expectation, review the settings.
使用「刪除重複行並排序」(免費)搭配使用的工具
- 刪除和整理文字中的換行:整理從 PDF 等處複製的文字中的換行。
- 文字數統計(用於求職申請表和報告):統計文字的字數、行數和稿紙張數。
- 全形、半形、平假名、片假名互相轉換:全形與半形、平假名與片假名互相轉換。