i have some problems.
I have one big file that provide one error with text “it’s an error”.
In source code I have a lot of lines with same text.
How I can change all this line to counted lines.
I mean that i want to change it like this:
some_function ()
{
provide "it's an error"
}
another_function ()
provide "it's an error"
provide "it's an error"
And now i want to get next:
some_function ()
{
provide "1 it's an error"
}
another_function ()
provide "2 it's an error"
provide "3 it's an error"
Or the same but with line numbers.
With line numbers: