views:

287

answers:

2

Hi...

Do you know how to look for special characters with google...?

I'm looking at bash code and there's the ## operator...I would like to know what It does but I wasn't able to figure out a way to protect the character (i'm not sure it's even possible...)...

This is particularly annoying when you're looking for some code patterns, some characters are always ignored...

+1  A: 

If you are searching for code you can use google code search

Nadia Alramli
that's a good site for finding code, but not for documentation of features/functions.
nickf
+1  A: 

Google strips most punctuation from queries, as described here, so it won't help you with the bash syntax.

It's very easy to search for the string "##" in the bash documentation: Just run "info bash", hit "s", and enter "##" as the search string.

Nathan Kitchen
Do you know the reason why they're doing it ? for the bash info, thx...I already knew it, it was more a general question...
LB
They must have decided that the information in punctuation is rarely helpful in searches, and it might also prevent useful matches when it's not the same in the query and the text.
Nathan Kitchen