Skip to navigation

Question:
How to add line numbers to a debugging shell script?

Use simple algorithms as well as simple data structures.