How to Google for --depend?

℡╲_俬逩灬. 提交于 2019-12-07 04:19:04

问题


The latest makefiles we've received from a third party vendor contain rules with --depend on the end of build rules, so I thought I would look it up on Google, but try as I might, I can't persuade it to display any pages with exactly the characters --depend

I've tried surrounding it with quotes "--depend": I've tried the Advanced Search: I've tried backslashes "\-\-depend" in the (vain) hope that there is some sort of unpublished regular expression search available.

Am I missing something blindingly obvious?

Please note that this is NOT a question about what --depend does, I know that, it's a question about how you Google for very precise, programmer oriented, text.


回答1:


You can specifiy literal symbols in a Google Code Search but not Google Web Search.

Examples;

Google Code Search for +"--depend"

Google Web Search for +"--depend"




回答2:


I had the same issue searching for 'syntax-rules'. You would think they would have solved this by now.




回答3:


I remember to have read somewhere that google's web search does not index non alphanumeric characters, treating them as word separators, so that's not possible.




回答4:


Reason for this problem is that a minus sign at the start of a token indicates that you want to EXCLUDE it from the search.

This is how you can filter out really popular results that really have nothing to do with you want.

For example, try searching for "wow". Then try searching for "wow -warcraft".



来源:https://stackoverflow.com/questions/132105/how-to-google-for-depend

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!