here is a better google search command that escapes spaces and uses highlighted text rather than the current word:
open http://www.google.com/search?q=%60echo $TM_SELECTED_TEXT | sed 's/ /+/g'`
Standard input: selected text Standard output: discard
On Dec 31, 2004, at 7:13, Lang Riley wrote:
here is a better google search command that escapes spaces and uses highlighted text rather than the current word:
open http://www.google.com/search?q=%60echo $TM_SELECTED_TEXT | sed 's/ /+/g'`
Here's a neat bash-trick: open http://www.google.com/search?q=%24%7BTM_SELECTED_TEXT// /+}
Will substitute spaces with + for the selected text also.