rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* Re: builtins
@ 2000-05-12  5:49 Smarasderagd
  0 siblings, 0 replies; 19+ messages in thread
From: Smarasderagd @ 2000-05-12  5:49 UTC (permalink / raw)
  To: rc, schwartz

Scott Schwartz <schwartz@bio.cse.psu.edu> writes:
>My $0.02:  if you have echo as a builtin, read deserves the same.

Should it honour escaped newlines the way Bourne shell read does?
Wouldn't it be nice if you could read arrays?  But what we really
want is to generalize all of the hidden goo that reads input until
we can reimplement the main loop as "while () {read a; eval $a}", and
optionally also "echo $a >> $history", and a replacement for - and --
that lets you do structural editing...

>My other $0.02:  echo needs a sibling builtin, quote, to enquote it's
>arguments so that they can be read by the shell.  Lisp got that right ages
>ago.  Inferno got it right more recently.

Oh, I guess that IS where you want to go. :)

Seriously, I don't see any real reason why a quoting function doesn't
make sense, since whatis already does this...


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

end of thread, other threads:[~2000-05-14  5:34 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <sroberts@uniserve.com>
2000-04-26 15:02 ` building rc on QNX4 Sam Roberts
2000-04-27 16:56   ` Scott Schwartz
2000-04-27 20:41     ` Sam Roberts
2000-04-28  7:28       ` vrl (was: Re: building rc on QNX4) Gert-Jan Vons
2000-04-28 18:38         ` Sam Roberts
2000-05-02  8:16           ` Gert-Jan Vons
2000-04-28 19:03         ` rc not session leader? Sam Roberts
2000-04-27 17:39   ` building rc on QNX4 Carlo Strozzi
2000-05-02 14:41     ` Tim Goodwin
2000-05-04 15:18       ` Carlo Strozzi
2000-05-08  8:29         ` Tim Goodwin
2000-05-08  8:58           ` Chris Siebenmann
2000-05-08  9:15             ` Tim Goodwin
2000-05-08 23:25               ` Stephen Tell
2000-05-10  0:37                 ` builtins Scott Schwartz
2000-05-12  7:22                   ` builtins Carlo Strozzi
2000-05-08 11:50           ` building rc on QNX4 David Luyer
2000-05-08 13:28           ` Carlo Strozzi
2000-05-12  5:49 builtins Smarasderagd

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