rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* (no subject)
@ 1993-09-15 17:55 malte
  0 siblings, 0 replies; only message in thread
From: malte @ 1993-09-15 17:55 UTC (permalink / raw)
  To: rc

Just because there's some life sign on this list again:

What I really do miss in rc is orthogonality in list operators.

	There's a left shift "shift [n]", but no right shift.
	I'd like to propose negative shift values to implement this.

	There's a simple way to pick some element from a list, but not
	to drop one. Maybe we could use negative numbers for that too, e.g.
	droppping the fifth element from a list reads "$x(-5)". Then, the
	solution to the annoying problem of dropping the last element from
	a list is "last = $x(-$#x)"

What do you think of this?
Will it break scripts ( besides already broken ones )?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-09-15 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-09-15 17:55 malte

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