How to use Line toolkit
- 1. Paste lines. Or drop a log file.
- 2. Pick an operation. Grep uses JavaScript regex.
- 3. Copy the result. Local only.
- 4. Shuffle uses Web Crypto. Not Math.random.
About this tool
Half of ops work is rearranging lines. Doing it in the tab beats uploading a customer log to a random website.
Grep
The pattern is a JS RegExp. Invalid patterns throw from the engine.
Unique
Keeps first occurrence order.
Code examples
grep
ERROR|WARN