Hi All,
I need to update 2 rows in my file. But i can do only one row update by sed command. Please help me how can i change mutltiple rows in single sed commana
my i/p file: (example.txt)
record
integer (10) present_id;
string (10) first_name;
string (10) last_name;
string (11) mobile_no;
end;
My out put would be:
ebcdic record
string (12) referid_id;
string (10) first_name;
string (10) last_name;
string (11) mobile_no;
end;
I using command: cat example.txt | sed -e 's/record/ebcdic record/'
but through this command i changed first line only.
Please help me in this.
Thnaking in advance......
Regards,
Dathu