I am having a software which when running ../configure is failing due to some checks.
I have find a way to comment out the lines 49725-49735 manually then I can install the software just fine.
I need to edit the configuration file automatically and comment those lines.
Is there anyone who can give me a hint how to achieve that?
Not advisable to edit config files like this (fix the error messages), but you know your situation better than I do.
sed '49724,49736 {s/^/#/}' file > newFile && mv newFile file
IHTH
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With