I have ~750 .php files in the same directory that contain the lineinclude(path/to/file.php);I would like to change this line in every file torequire_once(path/to/file.php);What would be an efficient method to do so? So far I have tried the following Sed command with no luck: sed 's#include(path/to/file.php);#require_once(path/to/file.php);#' *.php
How to change a single line in multiple files
sed;regular expression;php