Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

DuckDuckGo does the exact same thing with shebangs. Brave's implementation is just less granular.


Brave Search supports the Fallback Mixing option, as well as shebangs (e.g. !g, !a, !b, !d, !e, !yt).


They are called bangs, not shebangs. A shebang is #!

> In computing, a shebang is the character sequence consisting of the characters number sign and exclamation mark (#!) at the beginning of a script. It is also called sha-bang,[1][2] hashbang,[3][4] pound-bang,[5][6] or hash-pling.[7] - Wikipedia

> Bangs are shortcuts that quickly take you to search results on other sites. For example, when you know you want to search on another site like Wikipedia or Amazon, our bangs get you there fastest. A search for !w filter bubble will take you directly to Wikipedia. -DDG


Thank you for the correction. I used to call them hash-bangs (not sure where I picked up that habit in my ~25 years of industry experience), until I started seeing more people refer to them as shebangs. Oddly enough, while reading them out I would always say "bang, <identifier>". I'll try to refer to them simply as bangs (or perhaps something like search/filter bangs) from now on


Because '#!' is a hash followed by a bang.


Quite obvious, but naming things is funny in the web-development world. We still call any asynchronous retrieval of data "AJAX," even though it rarely, if ever, involves XML :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: