fork download
  1. #!/bin/bash
  2. s="any_function( 'name_file', .... );"
  3. sed "s/any_function( *'[^']*/&.php/" <<< "$s"
Success #stdin #stdout 0.01s 5400KB
stdin
Standard input is empty
stdout
any_function( 'name_file.php', .... );