Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just saw the movie The Girl with the Dragon Tattoo and there is a scene where a person searches google search in a command-line using basic scripting something akin to bash. What tool can possibly achieve this?

Thanks in advance!

share|improve this question doesn't do exactly this, but I still find it to be very useful. – Anderson Green Sep 26 '12 at 1:42
Possible duplicate:… – Anderson Green Sep 26 '12 at 1:43

I don't think this can be done - Google read's the parameters (the search query) as a string only - it can't read and execute a script; this would potentially be a security issue.

The only way you could do this I guess would be to use the regex to create the string or, upon each regex pattern, query Google, scan the results and then continue or re-scan etc! This could result in too much traffic to Google and I would assume they'll ban your IP (or grey list or similar).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.