rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* Anybody use `rc -s'?
@ 1999-01-20 10:13 Tim Goodwin
  1999-01-21  0:53 ` Scott Schwartz
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Goodwin @ 1999-01-20 10:13 UTC (permalink / raw)
  To: rc

A discussion has arisen between myself and a trusty beta tester over
the `-s' flag.  This flag was new (and undocumented) in rc-1.5betadev1;
it causes rc to put any arguments into $* (instead of treating them as
files to be read); rc then reads from standard input.

At present, `-s' implies `-i', and we suspect that this is wrong.  I
would be interested to hear from anybody who is actually using `rc -s'
(or `sh -s', for that matter), since we're having trouble coming up with
any realistic examples.

Any comments appreciated.

Tim.

P.S.  I've received a small amount of feedback on rc-1.5b4, which
has all been positive.  More feedback (especially if you've run into
problems with it) is always welcome!


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

* Re: Anybody use `rc -s'?
  1999-01-20 10:13 Anybody use `rc -s'? Tim Goodwin
@ 1999-01-21  0:53 ` Scott Schwartz
  0 siblings, 0 replies; 2+ messages in thread
From: Scott Schwartz @ 1999-01-21  0:53 UTC (permalink / raw)
  To: rc

Tim Goodwin <tjg@star.le.ac.uk> writes:
| A discussion has arisen between myself and a trusty beta tester over
| the `-s' flag.  This flag was new (and undocumented) in rc-1.5betadev1;
| it causes rc to put any arguments into $* (instead of treating them as
| files to be read); rc then reads from standard input.

Was it really introduced that late?  I thought it had been there
earlier.

| At present, `-s' implies `-i', and we suspect that this is wrong.  I
| would be interested to hear from anybody who is actually using `rc -s'
| (or `sh -s', for that matter), since we're having trouble coming up with
| any realistic examples.

I don't have any examples at hand, but I vaguely remember badly wanting
that flag for something interesting.  It shouldn't imply `-i', though.



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

end of thread, other threads:[~1999-01-21 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-01-20 10:13 Anybody use `rc -s'? Tim Goodwin
1999-01-21  0:53 ` Scott Schwartz

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