Closed JamieKitson closed 12 years ago
This is a little tricky to debug.
Do you know what string might be causing this?
Do you mind if I nuke http://greptweet.com/u/bengoldacre/ ?
Do you mind if I nuke http://greptweet.com/u/bengoldacre/ ?
No of course not.
https://github.com/kaihendry/Greptweet/blob/master/fetch-tweets.sh#L101
It's because the replacement can have "," character which fecks with sed. I've pointed to http://mywiki.wooledge.org/BashFAQ/021 which offers a nice bash solution, but fugly POSIX solutions.
Comments @matthiasr ?
While trying to get BenGoldacre's tweets:
X-RateLimit-Class: api Status: 200 OK sed: -e expression #1, char 71: unknown option to `s' Before: 600 After: 799 799 bengoldacre tweet total 27004 is greater than the already saved 799
X-RateLimit-Class: api Status: 200 OK sed: -e expression #1, char 368: unknown option to
s' sed: -e expression #1, char 92: unknown option to
s' sed: -e expression #1, char 267: unknown option tos' sed: -e expression #1, char 297: unknown option to
s' Before: 799 After: 995 995 bengoldacre tweet total 27004 is greater than the already saved 995