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