fork(1) download
  1. #!/bin/bash
  2. s="define('HTTP_SERVER', 'http://localhost:31270');"
  3. echo $s | sed -r "s/^(\S*HTTPS*_SERVER\S*)(\s*'https*:\/\/)(\S*)('\);)$/\1\2test.com\4/"
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
define('HTTP_SERVER', 'http://t...content-available-to-author-only...t.com');