GcinTablesXcin02: gcin-filter-google

File gcin-filter-google, 289 bytes (added by caleb, 2 years ago)
Line 
1 #! /bin/bash
2 # gcin-filter-google version 0.0.1
3 # This version supports English keywords only
4   read -r -t 1 aa
5   if [ "$(echo -n $aa | grep google --)" != "" ]; then
6     echo -n " "
7     exec mozilla http://www.google.com.tw/search?q="$(echo -n $aa | sed 's/google//')"
8   fi
9   echo -n $aa