fork(2) download
  1. #!/bin/bash
  2. s=';include_path = ".:/usr/share/php"'
  3. #include_path = ".:/usr/share/php:/var/www/html/"
  4. echo $s | sed -E 's|;(include_path = ")([^"]*)(")|\1\2:/var/www/html/\3|g'
Success #stdin #stdout 0s 4480KB
stdin
Standard input is empty
stdout
include_path = ".:/usr/share/php:/var/www/html/"