[499] in Zephyr_Bugs

home help back first fref pref prev next nref lref last post

WTF?!?!?!?

daemon@ATHENA.MIT.EDU (Richard J. Barbalace)
Tue Aug 10 04:23:03 1993

To: bug-zephyr@Athena.MIT.EDU
Cc: marc@Athena.MIT.EDU, rjbarbal@Athena.MIT.EDU
Date: Tue, 10 Aug 93 04:22:51 EDT
From: Richard J. Barbalace <rjbarbal@Athena.MIT.EDU>


I'm not sure who to send this to.

Look at what this sample code does (in .zwgc.desc):
	set sender = "rjbarbal.root"
	print $sender+" put #1\n"
	put
	print $sender+" put #2\n"
	put

The first put statement will display a zgram containing:
	rjbarbal.root put #1
The second put statement will display a zgram containing:
	rjbarbal.root put #1
	rjbarbal_root put #2
Notice that put changes the period to an underscore!

This is ridiculous.  There is no reason why put should
change random variables without warning.  Whoever did
this should be shot.

Many users keep log files of personal conversations by storing
their zgrams in files having names based on $sender.  The conversion
from a period to an underscore prevents an effective method of
logging based on $sender.  Ask me for more details if you're that
interested.

home help back first fref pref prev next nref lref last post