hi all
i have a directory in which there are numbers of files.
Each file contains the following code at the end
i want to remove that code from all the files in the directory
I have tried out
but it's not working..is there any other way to do so..
I have tried out sed command also
sed 'N;$;$;$d' filename but still not working..
i have a directory in which there are numbers of files.
Each file contains the following code at the end
Code:
<p align="right"><input name="closeme" type="button" value="Close Window" onclick="self.close()" /></p>
I have tried out
Code:
perl -pi -e 's/<p align="right"><input name="closeme" type="button" value="Close Window" onclick="self.close()" \/><\/p> / /gi' .*php
I have tried out sed command also
sed 'N;$;$;$d' filename but still not working..
Comment