-2 karma · joined Jun 19, 2014 (12y ago) · 5 submissions
comment 12y ago · link · parent
I find it strange that you created an account less than 20 minutes ago to take part in the "political discussion" yourself, unless you're working professionally as part of the "hasbara" effort?!
comment 12y ago · link · parent
For formatting the standard in the print world is InDesign, nothing else comes close. I used to work in the "print" trade, and that is what everyone uses.
comment 12y ago · link · parent
#!/bin/sh
#
# tickets.sh - A "no BS" ticket price scraper. Output in CSV format.
# Uses standard issue Unix utilities only.
# No soup for you!
URL="http://philadelphia.craigslist.org"
QUERY="firefly+tickets"
RESULTS=`curl -s -m 10 "$URL/search/sss?sort=date&query=$QUERY" \
| grep '<p class=\"row' \
| sed 's!^[ \t]*!!; \
s!>[ \t]*<!><!g; \
s![,:]! !g; \
s!<p class=\"row[^/]*\"\([^\"]*\)\" class=\"[^#]*\">$\([0-9]\{1,\}\)</span>[^.]*>\([A-Z]\{1\}[a-z]\{2\} \{1,\}[0-9]\{1,2\}\)[^.]*<a h[^>]*\.html">\([^<]*\)</a>\([^.]*</p>\)!\1,$\2,\3,\4:!g; \
s! *! !g; \
s!, *!,!g' \
| tr ':' '\n'`
echo "$RESULTS"