scsh-users
[Top] [All Lists]

How to write c shell ?

To: scsh@martigny.ai.mit.edu
Subject: How to write c shell ?
From: chulee@seas.gwu.edu (Chuleerat Jaruskulchai)
Date: 23 Jul 1996 06:14:09 GMT
Organization: George Washington University
Hi,

I have a very trivial questions about c sheel script. I need some advise.

These is the following code.

set nodoc = "1 2 3 4 5 6"
set init  = "1"

foreach init in ($nodoc) 
   prog < I_$init > O_$init
end

My problems is that the wordlist(nodoc) will start from 1 to 100000. Anyone can 
give me some suggest how can I generate sequence for nodoc.

Thank you for your time.

Chuleerat.

<Prev in Thread] Current Thread [Next in Thread>
  • How to write c shell ?, Chuleerat Jaruskulchai <=