9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Inferno shell
@ 2007-01-02  4:43 lucio
  2007-01-08 15:37 ` rog
  0 siblings, 1 reply; 2+ messages in thread
From: lucio @ 2007-01-02  4:43 UTC (permalink / raw)
  To: 9fans

The Inferno shell man page says about a leading caret in a [ ] class:

	(As this character is special to the shell, it may only be
	included in a pattern if this character is quoted, as long as
	the leading [ is not quoted).

It seems to me that treating the unquoted leading string [^ as a
"token" would be a better alternative.  Would it be very difficult to
implement this rather than expect all exclusive classes to start ['^ ?
I presume it is a question of where in the parsing the [ and ^ take
precedence?

++L



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-08 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-02  4:43 [9fans] Inferno shell lucio
2007-01-08 15:37 ` rog

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).