gchq / CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis
https://gchq.github.io/CyberChef
Apache License 2.0
29.3k stars 3.28k forks source link

Feature request: Add field for line numbers offset in "Add line numbers" operation #1865

Open Adamkadaban opened 3 months ago

Adamkadaban commented 3 months ago

Is your feature request related to a problem? Please describe. Currently, the Add line numbers operation starts at 1. I often need to add line numbers to code, and it would be great if I could start the line numbers at a specific number so as to make it clear what the line number in the codebase is

Describe the solution you'd like A new field in the operation titled "offset" or "starting line number" that will be added to the first line number

Describe alternatives you've considered I'm sure there is some combination of operations that would do a field cut, add to line number, and join, but I think this would make things more convenient