rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* Where is the list ??
@ 1992-06-03  2:11 Emin Gun Sirer
  1992-06-05  0:07 ` Chris Siebenmann
  0 siblings, 1 reply; 2+ messages in thread
From: Emin Gun Sirer @ 1992-06-03  2:11 UTC (permalink / raw)
  To: rc


I cannot find the new mailing address for rc. Could someone please
enlighten me ?

I had a question about assignment to $* during function execution that
was bugging me. In particular:
fn a { $1 = x; echo $*} doesn't work, though I don't see any reason why
$* cannot be assigned to just like all the other variables.

Hope this doesn't bounce.
Gun.


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

* Re: Where is the list ??
  1992-06-03  2:11 Where is the list ?? Emin Gun Sirer
@ 1992-06-05  0:07 ` Chris Siebenmann
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Siebenmann @ 1992-06-05  0:07 UTC (permalink / raw)
  To: rc

 $1 is unassignable-to because it's a fake variable; it's really $*(1),
and you can't assign to sepperate array elements. It might be an error
for rc to not complain. You can assign to $* wholesale, either replacing
or augmenting it; I've done this on occasion.

	- cks


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

end of thread, other threads:[~1992-06-05  0:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1992-06-03  2:11 Where is the list ?? Emin Gun Sirer
1992-06-05  0:07 ` Chris Siebenmann

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