Code Sample |
google linux small 50mb |
Code Sample |
#/bin/bash # man-like clone that searches google # created by SaidinUnleashed, aka J.P. Nimmo s1=$1 s2=$2 s3=$3 s4=$4 s5=$5 s6=$6 s7=$7 s8=$8 s9=$9 exec links http://www.google.com/search?\&q\=$s1\+$s2\+$s3\+$s4\+$s5\+$s6\+$s7\+$s8\+$s9 |
Code Sample |
EDIT: BROKEN! QUERY="links http://www.google.com/search?&q=" for WORD in "$@"; do QUERY="$QUERY+$WORD"; done exec "$QUERY" <-- quotes break it =op |
Code Sample |
QUERY="links http://www.google.com/search?&q=" for WORD in "$@"; do QUERY="$QUERY+$WORD"; done QUERY=`echo "$QUERY"|sed 's/\"/\%22/g'` exec $QUERY |