I’m installing a piece of software that requires me to edit a user=xyz line into a monolithic config file that is .ini like in format.
[function-x]
user=myuserhere
[function-y]
other stuff here
more stuff here
[function-z]
user=myuserhere
So suppose I have a config that requires me to uncomment the line in [function-Z] and substitute in the right value for the username.
How do you specify which of the two identical lines in the file that you want to edit ?
Any suggestions ?