which editor, sublime or atom or any other editor, can achieve the following functions
I now have a lot of files, more than a hundred
now I want to delete the lines containing the example field in all files, how can I quickly operate
which editor, sublime or atom or any other editor, can achieve the following functions
I now have a lot of files, more than a hundred
now I want to delete the lines containing the example field in all files, how can I quickly operate
try it with shell's sed command, for example:
find . -name *.html | xargs sed -i '/example/d'
it's OK to replace sublime text3 in batches. The shortcut key is Ctrl+Shift+F
and then select Save all
Editplus has similar functions
sublime can be achieved by selecting all the 'example' fields in Ctrl D and then using the shortcut key to delete the current line (forget the shortcut key).
sublime, cmd + shift + f looks for the folder, and then the regular pattern matches to an entire line, replace can.