Line Sort and Deduplicate은(는) 무엇을 하나요?
Line Sort and Deduplicate은(는) 브라우저에서 데이터 형식 지정 및 검증을(를) 수행하며 결과와 제한을 명확히 설명합니다. 검증된 기능: Natural sorting, Stable deduplication, Blank-line removal, Reverse order.
Preserve order or normalize the list?
Use Remove duplicates to keep the first exact occurrence in the existing order. Use Sort and deduplicate when trimming, blank removal, and a new natural sort order are acceptable.
사용 방법
- Paste one value per line into Input.
- Choose a sort, deduplication, reverse, or trim operation.
- Inspect the resulting order and exact duplicate policy, then copy or download the lines.
실제 입출력 예시
Trim, sort, and remove duplicate values
입력
pear
Apple
pear
banana
Apple출력
Apple
banana
pearSort and deduplicate trims lines, removes blanks, keeps exact unique values, and applies locale-aware natural sorting.
일반적인 오류와 해결 방법
| 현상 | 가능한 원인 | 해결 방법 |
|---|---|---|
| Remove duplicates keeps values that differ only by case or spaces. | Remove duplicates compares exact line strings. | Choose Sort and deduplicate to trim values first, or normalize case with Case Converter before deduplication. |
| The order differs from a byte-sorted command-line result. | This page uses Intl.Collator with numeric ordering and base sensitivity. | Use a byte-order tool when a protocol or reproducible build requires code-unit ordering. |
Important behavior of Line Tools
이 도구의 구체적인 제한: Case-insensitive natural sorting may differ from byte-order sorting used by command-line tools.
표준 및 구현 참고 자료
- MDN — Intl.Collator (opens in a new tab)Documents the locale-aware comparison used for natural sorting.
Line Tools — FAQ
Does the Line Tools upload my input?
No. Processing runs in the current browser tab, and the page does not send tool input to a KitLumi processing endpoint.
What input does the Line Tools accept?
It accepts one text value per line. The workspace checks the input and reports malformed or unsupported values before it produces a result.
What does the Line Tools produce?
It produces sorted, reversed, trimmed, or unique lines. Copy and download controls appear when the output format supports them.
What limitation should I know?
Case-insensitive natural sorting may differ from byte-order sorting used by command-line tools.
변경 사항
실질적인 업데이트: Line Tools: Added Natural sorting, Stable deduplication, Blank-line removal, Reverse order, responsive controls, explicit runtime disclosure, and task-specific examples and limitations.