echo "
Washington DC" >> clone.html
echo "" >> clone.html
curl http://washingtondc.craigslist.org/search/eng?addOne=telecommuting >> clone.html
curl http://washingtondc.craigslist.org/search/sad?addOne=telecommuting >> clone.html
curl http://washingtondc.craigslist.org/search/sof?addOne=telecommuting >> clone.html
curl http://washingtondc.craigslist.org/search/tch?addOne=telecommuting >> clone.html
#
# Stuff you don't want... but need fixed in html syntax
# note that the sed lines break the giant lines of html from craigslist up
# into individual byte size url lines of jobs.
# The other sed gets rid of extranious breaks..
sed -e 's/<\/p>
/<\/p>\n
/g' clone.html | sed -e 's/
//g' > test3.html
# Stuff you do want egrep
# the next grep really filters everything to June...
# and then gets rid of another slug line about results from different areas..
#
grep -E "base|Jun" test3.html | grep -i -v results > test5.html
# The stuff I am not interested in...
# The next grep line is the smarm line, typically the prospects
# have a lot of Visual studio scutt work..
#
grep -i -v Microsoft test5.html | grep -i -v C# | grep -i -v Sharpoint > jobs_one.html
# firefox ./jobs_one.html