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

I have not decided yet wether a builtin read is a good idea or not.
Meanwhile let me help you with this

    for( line in `` ($nl) { cat /some/file }){
        words = `{ echo $line }
    }

But I don't understand how your second solution works because there
must be something wrong with input redirection. My rc behaves like this:

	; while( echo outside ){ echo inside } > /dev/null
	outside
	outside
	..

Malte



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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-09-17 13:35 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).