Hi all
i want a unix script which will accept a string from user and then find that pattern in all files present in that
path and if pattern finds then remove that pattern the file.
e.g Let us suppose the lines in the files are
i am going to US
i am going to UK
UK is beautiful
so if my pattern is UK
so the new file should be :
i am going to US
i am going to UK
is beautiful
Thanx in advance
rawat
i want a unix script which will accept a string from user and then find that pattern in all files present in that
path and if pattern finds then remove that pattern the file.
e.g Let us suppose the lines in the files are
i am going to US
i am going to UK
UK is beautiful
so if my pattern is UK
so the new file should be :
i am going to US
i am going to UK
is beautiful
Thanx in advance
rawat