rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
* Re: FAQ?
@ 1994-03-30 20:33 Alan Watson
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Watson @ 1994-03-30 20:33 UTC (permalink / raw)
  To: Bengt Kleberg; +Cc: rc

>I need the FAQ. Where can I find it?

I post it every month to comp.unix.shell and it is also available by
anonymous ftp as rtfm.mit.edu:/pub/usenet/comp.unix.shell/rc-FAQ.

>(if somebody also would tell me how to loop over each line in a file
>that would be nice. the equiv of: for ( i in `{cat file})
>, but with file beeing very long)

Use the read function in the FAQ list with a while loop or try
something like:

   ifs = $nl for ( line in `{ cat file } ) { ... }



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

* FAQ?
@ 1994-03-30 18:54 Bengt Kleberg
  0 siblings, 0 replies; 2+ messages in thread
From: Bengt Kleberg @ 1994-03-30 18:54 UTC (permalink / raw)
  To: rc

I need the FAQ. Where can I find it?

(if somebody also would tell me how to loop over each line in a file
that would be nice. the equiv of: for ( i in `{cat file})
, but with file beeing very long)

Bengt


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

end of thread, other threads:[~1994-03-30 20:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1994-03-30 20:33 FAQ? Alan Watson
  -- strict thread matches above, loose matches on Subject: below --
1994-03-30 18:54 FAQ? Bengt Kleberg

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