On Dec 7, 2006, at 12:34 PM, Grant Hollingworth wrote:
- Jacob Rus jrus@hcs.harvard.edu [2006-12-06 17:24]:
irc://irc.freenode.net/##textmate
I hardly ever see IRC URIs, so I tried this one. open(1) doesn't like it because it's not actually valid: the '#' is reserved as the fragment delimiter, so when open sees two of them it decides the URI must actually be a file name.
Actually I am not sure the IRC scheme has ever been officially approved, whatever that would mean, perhaps I'm mistaken. In any case, open irc://irc.freenode.net/#textmate redirects to the correct thing (don't ask).
Encoding gives the uglier irc://irc.freenode.net/#%23textmate. Actually, the channel name isn't a fragment, so it should really be irc://irc.freenode.net/%23%23textmate.
Ugly, but it works.
And yes, I realize I just posted this to a thread about off-topic posts.
Haris