The file which is used is
/abc/apps/cobbbbbb/apps/abadv/binder/axyz.bnd
/abc/apps/cobbbbbb/apps/abbrio/binder/na6115.bnd
/abc/apps/cobbbbbb/apps/abbrio/binder/kc22.bnd
/abc/apps/cobbbbbb/apps/abbrio/binder/tr4823.bnd
/abc/apps/cobbbbbb/apps/abcmp/binder/cpc0105.bnd
The commads which I ran through are:
sed '/axyz.bnd/ a\grant permissions given ' file1
and
sed '/axyz.bnd/ i\grant permissions given ' file1
If above commands are given it is showing an error so i added a '\'
sed '/axyz.bnd/ i\grant permissions given \ ' file1
..This time no error but no output..Pls help