OSX Services - character substitution + for _
open "https://en.wikipedia.org/wiki/$(ruby -rcgi -e 'print CGI.escape $&lt;.read.chomp' | sed 's/+/_/g')"


sed 's/+/_/g' replaces all instances of + with _