After running command sed -i "/class MySQLPagedResultsajax/i Thing I Wish To Add;" /File/Location/
The result I get are as follows:
Thing I Wish To Add;class MySQLPagedResultsajax
Whereas I want to achieve this:
Thing I Wish To Add;
class MySQLPagedResultsajax
Please Help As I Want A Single Line Command Solution As This Needs To Be Done On Multiple Files And I Will Be Using Excel To Create Separate Commands For Each File.