9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* rc syntax bug
@ 1996-02-05 18:11 td
  0 siblings, 0 replies; 2+ messages in thread
From: td @ 1996-02-05 18:11 UTC (permalink / raw)


Stephen Hemminger <postman.ncube.com!sch> thinks there's a bug:
>Isn't it surprising:
>	if (! ~ () ()) echo 'i am a bug'

I'm sorry, what do you think the bug is?
The syntax is obviously ok, and the result is exactly what
I intended.  A match against an empty list always fails, the
definition being that at least one alternative must
succeed for the match to succeed.






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

* rc syntax bug
@ 1996-02-05 22:41 Stephen
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen @ 1996-02-05 22:41 UTC (permalink / raw)


Isn't it surprising:
	if (! ~ () ()) echo 'i am a bug'






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

end of thread, other threads:[~1996-02-05 22:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-05 18:11 rc syntax bug td
1996-02-05 22:41 Stephen

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).