Attachment 'search.sh'

Download

#!/usr/bin/env bash
par1=`echo $* | tr " " "+"` 
curl $http://search.live.com/results.aspx?q=$1 |
tr "\n" "-d" |
tr "\>" "\n" |
tr [A-Z] [a-z] |
tr '\"' "-d" |
tr "\'" "-d" |
grep '\(.*\)\<\(.*\)a\(.*\)href\(.*\)=\(.*\)%s\(.*\)\n' par1 |
echo grep -v 'http\:\/\/\(.*\)' 

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.

You are not allowed to attach a file to this page.