From: Stefan Dalibor <Stefan.Dalibor@informatik.uni-erlangen.de>
To: rc@hawkwind.utcs.toronto.edu
Subject: Re: list operators
Date: Fri, 17 Sep 1993 13:32:47 -0400 [thread overview]
Message-ID: <199309171732.AA01259@faui30.informatik.uni-erlangen.de> (raw)
Hi,
as it seems to be list-op wishing-time, here are my favourites:
1. Cartesian products of lists; it can of course be done with
functions (and I can live with that in scripts, though I don't like
it), but I use this *very* often as globbing construct and having
to type the rc equivalent of e.g.
what {{$O/bin,~/bin}/{sun*,m88k,ptx},src/{zrc,xvt}}/{zrc,rc,sysconf,xvt}
interactively can be extremely tedious.
IMHO it seems also a bit inconsequent to implement cartesian
products only for the case of 1 x n elements; I'd vote for
implementing the general n x m case which includes the former.
2. Assignment to list elements, e.g. `path(5)=/local/bin'. I think
there should be no need to use a function for such an atomic
operation.
Both items can be justified by (and will of course be rejected for) the
same reasons as the earlier proposals; I posted them yet because much
to my surprise, the absence of these constructs (and not the usual
like job-control, user-name-expansion, completion, builtins etc.) was
the reason that one of the few colleagues I was able to interest in rc
dropped it finally and keeps on using tcsh... so I think this can at
least be filed as a curiosity.
Bye,
Stefan
next reply other threads:[~1993-09-17 17:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-09-17 17:32 Stefan Dalibor [this message]
-- strict thread matches above, loose matches on Subject: below --
1993-09-16 10:11 malte
1993-09-15 21:04 Tom Culliton x2278
1993-09-15 20:47 Brynjulv Hauksson
1993-09-15 19:38 Tom Culliton x2278
1993-09-15 20:08 ` Charles Hannum
1993-09-15 19:01 rsalz
1993-09-15 18:29 Byron Rakitzis
1993-09-15 18:28 malte
1993-09-15 18:07 rsalz
1993-09-15 17:55 malte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199309171732.AA01259@faui30.informatik.uni-erlangen.de \
--to=stefan.dalibor@informatik.uni-erlangen.de \
--cc=rc@hawkwind.utcs.toronto.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).