php使うんですけどね
$ alias urlencode="php -r 'echo urlencode(\$argv[1]) . PHP_EOL;'"
$ urlencode 'http://qiita.com'
http%3A%2F%2Fqiita.com
More than 5 years have passed since last update.
php使うんですけどね
$ alias urlencode="php -r 'echo urlencode(\$argv[1]) . PHP_EOL;'"
$ urlencode 'http://qiita.com'
http%3A%2F%2Fqiita.com
Register as a new user and use Qiita more conveniently